3if ( PHP_SAPI !=
'cli' && PHP_SAPI !=
'phpdbg' ) {
4 die(
"This script can only be run from the command line.\n" );
7require_once __DIR__ .
'/../includes/AutoLoader.php';
8require_once __DIR__ .
'/../includes/utils/AutoloadGenerator.php';
21 $generator->getAutoload(
'maintenance/generateLocalAutoload.php' )
const CORE_NAMESPACES
A mapping of namespace => file path for MediaWiki core.
Accepts a list of files and directories to search for php files and generates $wgAutoloadLocalClasses...