1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
$wgEnableUploads = true;
$wgFileExtensions = array('png','gif','jpg','jpeg','pdf','tiff','ps','odt','ods','odp','odg', 'ogm', 'txt');
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['createtalk'] = false;
$wgGroupPermissions['*']['createpage'] = false;
$wgGroupPermissions['*']['writeapi'] = false;
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['user']['edit'] = true;
$wgGroupPermissions['*']['autocreateaccount'] = true;
$wgScriptPath = "/mw-$wgLanguageCode";
$wgArticlePath = "/$wgLanguageCode/$1";
$wgUsePathInfo = true;
$wgStylePath = "$wgScriptPath/skins";
$wgStyleDirectory = '<%= wikis_templates %>/skins';
$wgLogo = "";
$wgDefaultSkin = 'vector';
$wgFavicon = '/mw-en/skins/cavendish/favicon.png';
$wgRightsIcon = 'https://i.creativecommons.org/l/by-sa/3.0/88x31.png';
define('NS_FEATURE', 100);
define('NS_FEATURE_TALK', 101);
$wgExtraNamespaces[NS_FEATURE] = 'Feature';
$wgExtraNamespaces[NS_FEATURE_TALK] = 'Feature_Talk';
$wgContentNamespaces[] = NS_FEATURE;
$wgNamespacesToBeSearchedDefault[NS_FEATURE] = true;
define('NS_QA_PROCEDURE', 102);
define('NS_QA_PROCEDURE_TALK', 103);
$wgExtraNamespaces[NS_QA_PROCEDURE] = 'QA_procedure';
$wgExtraNamespaces[NS_QA_PROCEDURE_TALK] = 'QA_procedure_Talk';
$wgContentNamespaces[] = NS_QA_PROCEDURE;
$wgNamespacesToBeSearchedDefault[NS_QA_PROCEDURE] = true;
wfLoadExtension('Nuke');
wfLoadExtension('SpamBlacklist');
wfLoadExtension('TitleBlacklist');
$wgTitleBlacklistSources = array(
array(
'type' => 'localpage',
'src' => 'MediaWiki:Titleblacklist'
)
);
# $wgReadOnly = 'This wiki is currently read-only';
|