r56213 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56212‎ | r56213 | r56214 >
Date:23:18, 11 September 2009
Author:brion
Status:ok
Tags:
Comment:
Forward-port r53264 from wmf-deployment branch: "Adjust paths in the Wikimedia-specific command-line config hacks. Separating out most of the custom config files..."
Modified paths:
  • /trunk/phase3/maintenance/doMaintenance.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/doMaintenance.php
@@ -58,7 +58,8 @@
5959 }
6060
6161 // Load settings, using wikimedia-mode if needed
62 -if( file_exists( dirname(__FILE__).'/wikimedia-mode' ) ) {
 62+// Fixme: replace this hack with general farm-friendly code
 63+if( file_exists( "$IP/wmf-config/wikimedia-mode" ) ) {
6364 # TODO FIXME! Wikimedia-specific stuff needs to go away to an ext
6465 # Maybe a hook?
6566 global $cluster;
@@ -66,10 +67,10 @@
6768 $cluster = 'pmtpa';
6869 require_once( "$IP/includes/AutoLoader.php" );
6970 require_once( "$IP/includes/SiteConfiguration.php" );
70 - require( "$IP/wgConf.php" );
 71+ require( "$IP/wmf-config/wgConf.php" );
7172 $maintenance->loadWikimediaSettings();
7273 require( $IP.'/includes/Defines.php' );
73 - require( $IP.'/CommonSettings.php' );
 74+ require( $IP.'/wmf-config/CommonSettings.php' );
7475 } else {
7576 require_once( "$IP/includes/AutoLoader.php" );
7677 require_once( "$IP/includes/Defines.php" );

Follow-up revisions

RevisionCommit summaryAuthorDate
r56374Merge post-branch trunk updates replacing old live hacks:...brion17:25, 15 September 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r53264Adjust paths in the Wikimedia-specific command-line config hacks. Separating ...brion20:45, 14 July 2009

Status & tagging log