r99536 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99535‎ | r99536 | r99537 >
Date:19:11, 11 October 2011
Author:catrope
Status:ok
Tags:
Comment:
ACTUALLY fix the version check this time
Modified paths:
  • /trunk/extensions/Contest/Contest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/Contest.php
@@ -24,7 +24,7 @@
2525 die( 'Not an entry point.' );
2626 }
2727
28 -if ( version_compare( $wgVersion, '1.18a', '<' ) ) {
 28+if ( version_compare( $wgVersion, '1.18c', '<' ) ) { // Needs to be 1.18c because version_compare() works in confusing ways
2929 die( '<b>Error:</b> Contest requires MediaWiki 1.18 or above.' );
3030 }
3131

Follow-up revisions

RevisionCommit summaryAuthorDate
r99537[RL2] Fix version check in Gadgets too, see r99536catrope19:11, 11 October 2011

Status & tagging log