r98948 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98947‎ | r98948 | r98949 >
Date:23:24, 4 October 2011
Author:aaron
Status:ok (Comments)
Tags:
Comment:
Same typo plastured everywhere. Did catch it switchAllMediaWikis testing since I was testing the loop/regex snipped itself.
Modified paths:
  • /trunk/tools/mwmultiversion/multiversion/activeMWVersions (modified) (history)
  • /trunk/tools/mwmultiversion/multiversion/getMWVersion (modified) (history)
  • /trunk/tools/mwmultiversion/multiversion/refreshWikiversionsCDB (modified) (history)
  • /trunk/tools/mwmultiversion/multiversion/switchAllMediaWikis (modified) (history)

Diff [purge]

Index: trunk/tools/mwmultiversion/multiversion/switchAllMediaWikis
@@ -1,7 +1,7 @@
22 #!/usr/bin/env php
33 <?php
44 error_reporting( E_ALL );
5 -requre_once( dirname( __FILE__ ) . '/defines.php' );
 5+require_once( dirname( __FILE__ ) . '/defines.php' );
66 /*
77 * This script switches all wikis running one version to another version.
88 * It merely changes the wikiversions.dat and wikiversions.cdb files on /home,
Index: trunk/tools/mwmultiversion/multiversion/refreshWikiversionsCDB
@@ -1,7 +1,7 @@
22 #!/usr/bin/env php
33 <?php
44 error_reporting( E_ALL );
5 -requre_once( dirname( __FILE__ ) . '/defines.php' );
 5+require_once( dirname( __FILE__ ) . '/defines.php' );
66 /*
77 * Populate wikiversions.cdb file using all the items in wikiversions.dat
88 *
Index: trunk/tools/mwmultiversion/multiversion/activeMWVersions
@@ -1,7 +1,7 @@
22 #!/usr/bin/env php
33 <?php
44 error_reporting( 0 );
5 -requre_once( dirname( __FILE__ ) . '/defines.php' );
 5+require_once( dirname( __FILE__ ) . '/defines.php' );
66 /*
77 * Returns a space separated list of all active MW versions (e.g. "x.xx").
88 * Versions are read from /usr/local/apache/common-local/wikiversions.cdb.
Index: trunk/tools/mwmultiversion/multiversion/getMWVersion
@@ -1,7 +1,7 @@
22 #!/usr/bin/env php
33 <?php
44 error_reporting( 0 );
5 -requre_once( dirname( __FILE__ ) . '/defines.php' );
 5+require_once( dirname( __FILE__ ) . '/defines.php' );
66 /**
77 * This script prints the MW version associated with a specified wikidb.
88 */

Comments

#Comment by Aaron Schulz (talk | contribs)   23:30, 4 October 2011

That should be "Didn't catch it" of course. Typing too fast, blah.

Status & tagging log