http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99537

Revision: 99537
Author:   catrope
Date:     2011-10-11 19:11:30 +0000 (Tue, 11 Oct 2011)
Log Message:
-----------
[RL2] Fix version check in Gadgets too, see r99536

Modified Paths:
--------------
    branches/RL2/extensions/Gadgets/Gadgets.php

Modified: branches/RL2/extensions/Gadgets/Gadgets.php
===================================================================
--- branches/RL2/extensions/Gadgets/Gadgets.php 2011-10-11 19:11:09 UTC (rev 
99536)
+++ branches/RL2/extensions/Gadgets/Gadgets.php 2011-10-11 19:11:30 UTC (rev 
99537)
@@ -17,7 +17,7 @@
        die( 1 );
 }
 
-if ( version_compare( $wgVersion, '1.19blah', '<' ) ) {
+if ( version_compare( $wgVersion, '1.19c', '<' ) ) { // Needs to be 1.18c 
because version_compare() works in confusing ways
        die( "This version of Extension:Gadgets requires MediaWiki 1.19+\n" );
 }
 


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to