Wikibase
MediaWiki Wikibase extension
|
Variables | |
$IP = $GLOBALS['IP'] | |
This is a modified copy of an old version of [core]/tests/phpunit/bootstrap.php which includes only the code required for autoloading. | |
$GLOBALS ['wgAutoloadClasses'] = [] | |
$GLOBALS ['wgBaseDirectory'] = MW_INSTALL_PATH | |
$GLOBALS ['wgExtensionDirectory'] = "$IP/extensions" | |
$GLOBALS ['wgStyleDirectory'] = "$IP/skins" | |
$directoryToJsonMap | |
$extensionProcessor = new ExtensionProcessor() | |
foreach( $directoryToJsonMap as $directory=> $jsonFilePattern) | $autoload = $extensionProcessor->getExtractedAutoloadInfo( true ) |
foreach ($directoryToJsonMap as $directory=> $jsonFilePattern) $autoload = $extensionProcessor->getExtractedAutoloadInfo( true ) |
$directoryToJsonMap |
$extensionProcessor = new ExtensionProcessor() |
$GLOBALS[ 'wgAutoloadClasses'] = [] |
$GLOBALS[ 'wgBaseDirectory'] = MW_INSTALL_PATH |
$GLOBALS[ 'wgExtensionDirectory'] = "$IP/extensions" |
$GLOBALS[ 'wgStyleDirectory'] = "$IP/skins" |
$IP = $GLOBALS['IP'] |
This is a modified copy of an old version of [core]/tests/phpunit/bootstrap.php which includes only the code required for autoloading.