Index: trunk/tools/mwmultiversion/multiversion/refreshWikiversionsCDB |
— | — | @@ -1,5 +1,6 @@ |
2 | 2 | #!/usr/bin/env php |
3 | 3 | <?php |
| 4 | +error_reporting( E_ALL ); |
4 | 5 | /* |
5 | 6 | * Populate wikiversions.cdb file using all the items in wikiversions.dat |
6 | 7 | * |
Index: trunk/tools/mwmultiversion/multiversion/populateWikiversions |
— | — | @@ -1,5 +1,6 @@ |
2 | 2 | #!/usr/bin/env php |
3 | 3 | <?php |
| 4 | +error_reporting( E_ALL ); |
4 | 5 | /* |
5 | 6 | * Populate wikiversions.cdb file using all the items in all.dblist |
6 | 7 | * as keys, each having a value of the specified MediaWiki version. |
Index: trunk/tools/mwmultiversion/scripts/mwscript |
— | — | @@ -1,9 +1,6 @@ |
2 | 2 | #!/bin/sh |
3 | 3 | # Shell wrapper for the local version of MWScript.php. |
4 | 4 | # 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 |
9 | 6 | exit 1 |
10 | 7 | fi |