CACHE_DB => $emptyCache,
CACHE_ANYTHING => $emptyCache,
CACHE_MEMCACHED => $emptyCache,
+ // Set hash object cache (e.g. used in ResourceLoader LESS caching) - bug T113843
+ 'hash' => array( 'class' => 'HashBagOStuff' ),
);
// Load the installer's i18n.
global $wgAutoloadClasses;
$wgAutoloadClasses = array();
+ // @codingStandardsIgnoreStart
// LocalSettings.php should not call functions, except wfLoadSkin/wfLoadExtensions
// Define the required globals here, to ensure, the functions can do it work correctly.
global $wgExtensionDirectory, $wgStyleDirectory;
+ // @codingStandardsIgnoreEnd
MediaWiki\suppressWarnings();
$_lsExists = file_exists( "$IP/LocalSettings.php" );