r96491 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96490‎ | r96491 | r96492 >
Date:20:46, 7 September 2011
Author:reedy
Status:ok
Tags:
Comment:
Remove bugtraq:number from r96488 and r96490

Update includes for r96489, addwiki and renameWiki didn't get done (I didn't press save)
Modified paths:
  • /trunk/extensions/WikimediaMaintenance (modified) (history)
  • /trunk/extensions/WikimediaMaintenance/addwiki.php (modified) (history)
  • /trunk/extensions/WikimediaMaintenance/renameWiki.php (modified) (history)
  • /trunk/extensions/WikimediaMaintenance/storage (modified) (history)

Diff [purge]

Index: trunk/extensions/WikimediaMaintenance/renameWiki.php
@@ -23,7 +23,11 @@
2424 * @ingroup Wikimedia
2525 */
2626
27 -require_once( dirname( __FILE__ ) . '/Maintenance.php' );
 27+$IP = getenv( 'MW_INSTALL_PATH' );
 28+if ( $IP === false ) {
 29+ $IP = dirname( __FILE__ ) . '/../..';
 30+}
 31+require( "$IP/maintenance/Maintenance.php" );
2832
2933 class RenameWiki extends Maintenance {
3034 public function __construct() {
Index: trunk/extensions/WikimediaMaintenance/addwiki.php
@@ -27,7 +27,11 @@
2828 * @ingroup Wikimedia
2929 */
3030
31 -require_once( dirname( __FILE__ ) . '/Maintenance.php' );
 31+$IP = getenv( 'MW_INSTALL_PATH' );
 32+if ( $IP === false ) {
 33+ $IP = dirname( __FILE__ ) . '/../..';
 34+}
 35+require( "$IP/maintenance/Maintenance.php" );
3236
3337 class AddWiki extends Maintenance {
3438 public function __construct() {
Property changes on: trunk/extensions/WikimediaMaintenance/storage
___________________________________________________________________
Deleted: bugtraq:number
3539 - true
Property changes on: trunk/extensions/WikimediaMaintenance
___________________________________________________________________
Deleted: bugtraq:number
3640 - true

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r96488Add WikimediaMaintenance directoryreedy20:31, 7 September 2011
r96489Move addWiki, dumpInterwiki, ourusers, rebuildInterwiki, renameWiki and Site ...reedy20:40, 7 September 2011
r96490add storage directoryreedy20:43, 7 September 2011

Status & tagging log