mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-01 09:16:34 +00:00
acb0051bcd
We only need to opt into beta to test the beta indicator displays. There is no need to do this anywhere else in our browser tests. For the categories test we will enable the feature flag in test mode and not run it against the beta cluster. Bug: T174018 Change-Id: I83b5f24236cef6ddd6fc1882bdfff3618a8bf599
38 lines
943 B
PHP
38 lines
943 B
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;
|
|
|
|
$wgHooks['InterwikiLoadPrefix'][] = function ( $prefix, &$iwdata ) {
|
|
if ( $prefix === 'es' ) {
|
|
// return our hardcoded interwiki info
|
|
$iwdata = [
|
|
'iw_url' => 'http://wikifoo.org/es/index.php/$1',
|
|
'iw_local' => 0,
|
|
'iw_trans' => 0,
|
|
];
|
|
return false;
|
|
}
|
|
// nothing to do, continue lookup
|
|
return true;
|
|
};
|
|
$wgInterwikiCache = false;
|
|
|
|
$wgMFEnableBeta = true;
|
|
|
|
// 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;
|