r93024 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93023‎ | r93024 | r93025 >
Date:22:23, 24 July 2011
Author:aaron
Status:ok
Tags:
Comment:
* Use error_reporting( E_ALL ) in more places
* Simplified mwscript a bit
Modified paths:
  • /trunk/tools/mwmultiversion/multiversion/populateWikiversions (modified) (history)
  • /trunk/tools/mwmultiversion/multiversion/refreshWikiversionsCDB (modified) (history)
  • /trunk/tools/mwmultiversion/scripts/mwscript (modified) (history)

Diff [purge]

Index: trunk/tools/mwmultiversion/multiversion/refreshWikiversionsCDB
@@ -1,5 +1,6 @@
22 #!/usr/bin/env php
33 <?php
 4+error_reporting( E_ALL );
45 /*
56 * Populate wikiversions.cdb file using all the items in wikiversions.dat
67 *
Index: trunk/tools/mwmultiversion/multiversion/populateWikiversions
@@ -1,5 +1,6 @@
22 #!/usr/bin/env php
33 <?php
 4+error_reporting( E_ALL );
45 /*
56 * Populate wikiversions.cdb file using all the items in all.dblist
67 * as keys, each having a value of the specified MediaWiki version.
Index: trunk/tools/mwmultiversion/scripts/mwscript
@@ -1,9 +1,6 @@
22 #!/bin/sh
33 # Shell wrapper for the local version of MWScript.php.
44 # This script belongs in /usr/bin/ and should be in PATH.
5 -if php /usr/local/apache/common/multiversion/MWScript.php "$@"
6 -then
7 - exit 0
8 -else
 5+if [ ! php /usr/local/apache/common/multiversion/MWScript.php "$@" ]; then
96 exit 1
107 fi

Follow-up revisions

RevisionCommit summaryAuthorDate
r93034Fix r93024: removed excess bracketsaaron01:11, 25 July 2011

Status & tagging log