aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/wikis/templates/wiki_settings
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/wikis/templates/wiki_settings')
-rw-r--r--deployment/wikis/templates/wiki_settings15
1 files changed, 14 insertions, 1 deletions
diff --git a/deployment/wikis/templates/wiki_settings b/deployment/wikis/templates/wiki_settings
index d2c1b199..ec6e647d 100644
--- a/deployment/wikis/templates/wiki_settings
+++ b/deployment/wikis/templates/wiki_settings
@@ -7,12 +7,13 @@ $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';
+$wgStyleDirectory = '<%= @wikis_templates %>/skins';
$wgLogo = "";
$wgDefaultSkin = 'vector';
$wgFavicon = '/mw-en/skins/cavendish/favicon.png';
@@ -31,3 +32,15 @@ $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';