r97540 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97539‎ | r97540 | r97541 >
Date:18:56, 19 September 2011
Author:asher
Status:ok
Tags:
Comment:
hack - version_compare statement broken for 1.18wmf
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/Gadgets/Gadgets.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/Gadgets/Gadgets.php
@@ -17,9 +17,9 @@
1818 die( 1 );
1919 }
2020
21 -if ( version_compare( $wgVersion, '1.18alpha', '<' ) ) {
22 - die( "This version of Extension:Gadgets requires MediaWiki 1.18+\n" );
23 -}
 21+#if ( version_compare( $wgVersion, '1.18alpha', '<' ) ) {
 22+# die( "This version of Extension:Gadgets requires MediaWiki 1.18+\n" );
 23+#}
2424
2525 $wgExtensionCredits['other'][] = array(
2626 'path' => __FILE__,

Status & tagging log