Skip to content
Snippets Groups Projects
Commit cc194791 authored by nl6720's avatar nl6720 Committed by Jelle van der Waa
Browse files

archwiki: Semi-protect the Template namespace

It's easier than protecting each template individually.

Additionally keep all namespace settings next to one another.
parent b449c637
No related branches found
No related tags found
No related merge requests found
......@@ -76,9 +76,6 @@ $wgGitRepositoryViewers['.+projects\.archlinux\.org/vhosts/wiki\.archlinux\.org\
$wgJobRunRate = 0;
$wgRunJobsAsync = 1;
# Enable subpages in the main namespace (FS#39668)
$wgNamespacesWithSubpages[NS_MAIN] = true;
# Enable support for userscripts and user-stylesheets (FS#46699)
$wgAllowUserJs = true;
$wgAllowUserCss = true;
......@@ -299,9 +296,17 @@ $wgHiddenPrefs[] = "showrollbackconfirmation";
##
## Additional namespaces
## Namespaces
##
# Main
# Enable subpages in the main namespace (FS#39668)
$wgNamespacesWithSubpages[NS_MAIN] = true;
# Template
# Restrict editing to autoconfirmed users
$wgNamespaceProtection[NS_TEMPLATE] = array( 'editsemiprotected' );
# DeveloperWiki
define("NS_DEVELOPERWIKI", 3000);
define("NS_DEVELOPERWIKI_TALK", 3001);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment