r81420 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81419‎ | r81420 | r81421 >
Date:21:36, 2 February 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Fixed version check fail
Modified paths:
  • /trunk/extensions/SemanticResultFormats/SemanticResultFormats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticResultFormats/SemanticResultFormats.php
@@ -144,8 +144,7 @@
145145 global $wgVersion;
146146
147147 // This function has been deprecated in 1.16, but needed for earlier versions.
148 - // It's present in 1.16 as a stub, but lets check if it exists in case it gets removed at some point.
149 - if ( version_compare( $wgVersion, '1.15', '<=' ) ) {
 148+ if ( version_compare( $wgVersion, '1.16', '<' ) ) {
150149 wfLoadExtensionMessages( 'SemanticResultFormats' );
151150 }
152151

Status & tagging log