r99512 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99511‎ | r99512 | r99513 >
Date:18:09, 11 October 2011
Author:catrope
Status:ok
Tags:
Comment:
[RL2] Fix version check so it'll work with 1.19wmf1. 'alpha' is magic per http://php.net/version-compare
Modified paths:
  • /branches/RL2/extensions/Gadgets/Gadgets.php (modified) (history)

Diff [purge]

Index: branches/RL2/extensions/Gadgets/Gadgets.php
@@ -17,7 +17,7 @@
1818 die( 1 );
1919 }
2020
21 -if ( version_compare( $wgVersion, '1.19alpha', '<' ) ) {
 21+if ( version_compare( $wgVersion, '1.19blah', '<' ) ) {
2222 die( "This version of Extension:Gadgets requires MediaWiki 1.19+\n" );
2323 }
2424

Status & tagging log