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

Revision: 99512
Author:   catrope
Date:     2011-10-11 18:09:21 +0000 (Tue, 11 Oct 2011)
Log Message:
-----------
[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: branches/RL2/extensions/Gadgets/Gadgets.php
===================================================================
--- branches/RL2/extensions/Gadgets/Gadgets.php 2011-10-11 18:03:35 UTC (rev 
99511)
+++ branches/RL2/extensions/Gadgets/Gadgets.php 2011-10-11 18:09:21 UTC (rev 
99512)
@@ -17,7 +17,7 @@
        die( 1 );
 }
 
-if ( version_compare( $wgVersion, '1.19alpha', '<' ) ) {
+if ( version_compare( $wgVersion, '1.19blah', '<' ) ) {
        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