This repository has been archived by the owner on Jun 20, 2022. It is now read-only.
forked from themanaworld/themanaworld-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LocalSettings.php
82 lines (65 loc) · 2.41 KB
/
LocalSettings.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
# Global Settings
# See includes/DefaultSettings.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.
#
# Further documentation for configuration settings may be found at:
# http://www.mediawiki.org/wiki/Manual:Configuration_settings
# Protect against web entry
if (!defined('MEDIAWIKI')) {
exit;
}
$wgSitename = "The Spicy Mana World";
$wgMetaNamespace = "TheSpicyManaWorld";
## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "http://www.gnu.org/copyleft/fdl.html";
$wgRightsText = "Licencia de documentación libre de GNU 1.3 o posterior";
$wgRightsIcon = "{$wgStylePath}/common/images/gnu-fdl.png";
// Global pretty url (may be override in env-settings, should not)
## The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
## For more information on customizing the URLs please see:
## http://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath = "";
// $wgArticlePath = "/view/$1";
$wgScriptExtension = ".php";
$wgUsePathInfo = true;
$actions = array(
'view',
'edit',
'watch',
'unwatch',
'delete',
'revert',
'rollback',
'protect',
'unprotect',
'markpatrolled',
'render',
'submit',
'history',
'purge',
'info'
);
foreach ($actions as $action) {
$wgActionPaths[$action] = "/$action/$1";
}
$wgArticlePath = $wgActionPaths['view'];
## The relative URL path to the skins directory
$wgStylePath = "$wgScriptPath/skins";
$wgLogo = "$wgStylePath/global/images/spicy-logo.png";
// Select the enviroment-dependant settings
if (!file_exists("$IP/env/selector.php")) {
throw new Exception("'$IP/env/selector.php' file not found. You can copy the '$IP/env/selector.php.dist' file to '$IP/env/selector.php' and customize settings.");
}
require_once "$IP/env/selector.php";
# Enabled Extensions. Most extensions are enabled by including the base extension file here
# but check specific extension documentation for more details
# The following extensions were automatically enabled:
require_once "$IP/ExtensionsSettings.php";
# End of automatically generated settings.
# Add more configuration options below.