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

Revision: 99536
Author:   catrope
Date:     2011-10-11 19:11:09 +0000 (Tue, 11 Oct 2011)
Log Message:
-----------
ACTUALLY fix the version check this time

Modified Paths:
--------------
    trunk/extensions/Contest/Contest.php

Modified: trunk/extensions/Contest/Contest.php
===================================================================
--- trunk/extensions/Contest/Contest.php        2011-10-11 19:08:22 UTC (rev 
99535)
+++ trunk/extensions/Contest/Contest.php        2011-10-11 19:11:09 UTC (rev 
99536)
@@ -24,7 +24,7 @@
        die( 'Not an entry point.' );
 }
 
-if ( version_compare( $wgVersion, '1.18a', '<' ) ) {
+if ( version_compare( $wgVersion, '1.18c', '<' ) ) { // Needs to be 1.18c 
because version_compare() works in confusing ways
        die( '<b>Error:</b> Contest requires MediaWiki 1.18 or above.' );
 }
 


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

Reply via email to