2017-06-09 19:12:53 +00:00
|
|
|
<?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;
|
|
|
|
|
2018-11-14 00:17:49 +00:00
|
|
|
$wgMinervaPageIssuesNewTreatment = [
|
|
|
|
"base" => true,
|
|
|
|
"beta" => true,
|
|
|
|
];
|
|
|
|
|
2017-06-09 19:12:53 +00:00
|
|
|
$wgMFEnableBeta = true;
|
|
|
|
|
2018-05-29 09:15:24 +00:00
|
|
|
// 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';
|
|
|
|
|
2017-06-09 19:12:53 +00:00
|
|
|
// 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,
|
|
|
|
];
|
2018-03-26 18:24:25 +00:00
|
|
|
|
|
|
|
$wgMinervaShowCategoriesButton['base'] = true;
|