%PDF- %PDF-
Direktori : /www/varak.net/wiki.varak.net/extensions/MobileFrontend/tests/browser/ |
Current File : /www/varak.net/wiki.varak.net/extensions/MobileFrontend/tests/browser/LocalSettings.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; // For those who have wikibase installed. $wgMFUseWikibase = true; $wgMFDisplayWikibaseDescriptions = [ 'search' => true, 'nearby' => true, 'watchlist' => true, 'tagline' => true, ]; // The "I am using the mobile site" step is designed to work on different sub-domains // This differs from the default. $wgMFAutodetectMobileView = false;