r112090 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112089‎ | r112090 | r112091 >
Date:08:48, 22 February 2012
Author:tstarling
Status:ok
Tags:
Comment:
MFT r112089: fix mergeMessagesFileList.php
Modified paths:
  • /branches/wmf/1.19wmf1/extensions/Contest/Contest.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/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
Property changes on: branches/wmf/1.19wmf1/extensions/Contest/Contest.php
___________________________________________________________________
Added: svn:mergeinfo
3232 Merged /branches/wmf/1.18wmf1/extensions/Contest/Contest.php:r100323
3333 Merged /trunk/extensions/Contest/Contest.php:r112069,112089

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112089Fix localisation file discovery (maintenance/mergeMessageFileList.php) broken...tstarling08:47, 22 February 2012

Status & tagging log