r112089 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112088‎ | r112089 | r112090 >
Date:08:47, 22 February 2012
Author:tstarling
Status:ok
Tags:
Comment:
Fix localisation file discovery (maintenance/mergeMessageFileList.php) broken by Contest
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.18c', '<' ) ) { // Needs to be 1.18c because version_compare() works in confusing ways
 28+if ( isset( $wgVersion ) && 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
r112090MFT r112089: fix mergeMessagesFileList.phptstarling08:48, 22 February 2012

Status & tagging log