As a result: rm DIY inclusion protection, since this was the only reason it was still needed.
<?php
-
-/**
- * The include paths change after this file is included from commandLine.inc,
- * meaning that require_once() fails to detect that it is including the same
- * file again. We use DIY C-style protection as a workaround.
- */
-
-// Hide this pattern from Doxygen, which spazzes out at it
-/// @cond
-if( !defined( 'SITE_CONFIGURATION' ) ){
-define( 'SITE_CONFIGURATION', 1 );
-/// @endcond
-
/**
* This is a class used to hold configuration settings, particularly for multi-wiki sites.
*/
# Maybe a hook?
global $cluster;
$cluster = 'pmtpa';
- require_once( MWInit::compiledPath( 'includes/SiteConfiguration.php' ) );
require( MWInit::interpretedPath( 'wmf-config/wgConf.php' ) );
$maintenance->loadWikimediaSettings();
require( MWInit::interpretedPath( '/wmf-config/CommonSettings.php' ) );