Remove talk pages

This commit is contained in:
www-data 2025-02-20 00:19:50 +01:00
parent 0ee284913e
commit 22cbd05db5

View file

@ -245,4 +245,14 @@ $wgHeadScriptCode = <<<'START_END_MARKER'
<link href="spacestate.php" rel="stylesheet" />
START_END_MARKER;
// Remove all talk pages
$wgNamespaceProtection[NS_TALK] = ['everyone'];
$wgNamespaceProtection[NS_USER_TALK] = ['everyone'];
$wgNamespaceProtection[NS_PROJECT_TALK] = ['everyone'];
$wgNamespaceProtection[NS_FILE_TALK] = ['everyone'];
$wgNamespaceProtection[NS_MEDIAWIKI_TALK] = ['everyone'];
$wgNamespaceProtection[NS_TEMPLATE_TALK] = ['everyone'];
$wgNamespaceProtection[NS_HELP_TALK] = ['everyone'];
$wgNamespaceProtection[NS_CATEGORY_TALK] = ['everyone'];
$wgMemoryLimit = "64M";