mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-11 05:46:09 +00:00
6a7d350160
The page issues browser test is now compatible with both the old and new treatments. For consistency, in integration tests it will be run always in treatment B since that will be the new way to do this going forward. The beta cluster will test issue treatment A while it continues to be the default. So with this we enjoy the best of both worlds. When we enable page issues, the beta cluster will inherit the config from production and we can remove the treatment testing for treatment B. A follow up patch, might add testing for a page issue on talk pages, which will retain treatment A for completeness if this is deemed useful. Bug: T206647 Change-Id: I586523e452a6809e310f65a2ed55c6771d1965b6
47 lines
1.2 KiB
PHP
47 lines
1.2 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;
|
|
|
|
$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;
|
|
|
|
$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;
|