« wgConf.php

( version controlblameraw text )



<?php
# This file is used by commandLine.inc and CommonSettings.php to initialise $wgConf
# WARNING: This file is publically viewable on the web. Do not put private data here.

$wgConf = new SiteConfiguration;

# Read wiki lists

$wgConf->suffixes = [
// 'wikipedia',
'wikipedia' => 'wiki',
'wiktionary',
'wikiquote',
'wikibooks',
'wikiquote',
'wikinews',
'wikisource',
'wikiversity',
'wikimedia',
'wikivoyage',
];

$dbList = $wmfRealm === 'labs' ? 'all-labs' : 'all';
$wgConf->wikis = MWWikiversions::readDbListFile( $dbList );

$wgConf->fullLoadCallback = 'wmfLoadInitialiseSettings';

$wgLocalDatabases =& $wgConf->getLocalDatabases();