mediawiki-skins-MinervaNeue/tests/browser/LocalSettings.php
C. Scott Ananian 0d8bad3f9d Avoid using deprecated InterwikiLoadPrefix hook in test setup
Bug: T270444
Change-Id: I42d0474ae6f758207357373ecb6b4f2f5f853a7d
2020-12-22 15:06:29 -05:00

42 lines
1.1 KiB
PHP

<?php
$wgRightsText = 'Creative Commons Attribution 3.0';
$wgRightsUrl = "http://creativecommons.org/licenses/by-sa/3.0/";
// Allow users to edit privacy link.
$wgGroupPermissions['user']['editinterface'] = true;
// Use hard-coded interwiki information
$wgInterwikiCache = \MediaWiki\Interwiki\ClassicInterwikiLookup::buildCdbHash( [
[
'iw_prefix' => 'es',
'iw_url' => 'http://wikifoo.org/es/index.php/$1',
'iw_local' => 0,
'iw_trans' => 0,
],
] );
$wgMinervaPageIssuesNewTreatment = [
"base" => true,
"beta" => true,
];
$wgMFEnableBeta = true;
// Set the desktop skin to MinervaNeue. Otherwise, it will try to guess the skin name using the
// class name MinervaNeue which resolves to `minervaneue`.
$wgDefaultSkin = 'minerva';
// needed for testing whether the language button is displayed and disabled
$wgMinervaAlwaysShowLanguageButton = true;
// For those who have wikibase installed.
$wgMFUseWikibase = true;
$wgMFDisplayWikibaseDescriptions = [
'search' => true,
'nearby' => true,
'watchlist' => true,
'tagline' => true,
];
$wgMinervaShowCategoriesButton['base'] = true;