-
Notifications
You must be signed in to change notification settings - Fork 0
/
Settings.php
48 lines (38 loc) · 966 Bytes
/
Settings.php
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
47
48
<?php
/*
* Global settings
*/
// See https://www.mediawiki.org/wiki/Manual:$wgUrlProtocols
$wgUrlProtocols[] = 'magnet:';
/*
* Namespace aliases
*/
$wgNamespaceAliases['MDF'] = 1000;
$wgNamespaceAliases['MDF_TALK'] = 1001;
$wgNamespaceAliases['U'] = 2;
$wgNamespaceAliases['F'] = 6;
$wgNamespaceAliases['T'] = 10;
$wgNamespaceAliases['H'] = 12;
$wgNamespaceAliases['C'] = $wgNamespaceAliases['CAT'] = 14;
$DFReleases = array(
1 => 110,
2 => 106,
3 => 112,
4 => 114,
5 => 116,
);
$DFReleaseAliases = array('Rel', 'V', 'R');
foreach ($DFReleases as $id => $ns) {
foreach ($DFReleaseAliases as $a) {
$wgNamespaceAliases[$a . $id] = $ns;
$wgNamespaceAliases[$a . $id . '_talk'] = $ns + 1;
}
}
/*
* Extension settings
*/
$wgAutoRedirectNamespaces = array(
'' => array('DF2014', 'v0.34', 'v0.31', '40d', '23a'),
);
$wgAutoWelcomeUserText = '{{subst:welcome user}}';
$wgAutoWelcomeUserAuthor = 'LethosorBot';