mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 14:23:53 +00:00
c0c90234d0
This moves all browser tests from MobileFrontend to the Minerva repo in preparation for separating the two. Note, this means browser tests will exist in both repositories for a period of time. This is important and necessary to ensure we do not break anything. See: https://lists.wikimedia.org/pipermail/mobile-l/2017-July/010536.html Bug: T168758 Change-Id: I84ae3ea14191f672cabcd52020e80b0a40a72ce1
36 lines
895 B
PHP
36 lines
895 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,
|
|
];
|