Mediawiki: disable editing of talk pages
We don't use talk pages, people often add notes to them and no one ever sees them. We want discussion of things on our lists or matrix, not in a talk page no one reads. This disables editing talk pages by using the lockdown plugin and only granting permissions to edit talk pages to 'noone'. Since that group doesn't exist, no one can edit them. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
a25a46b312
commit
b7fb1b1faf
1 changed files with 10 additions and 0 deletions
|
@ -478,6 +478,16 @@ $wgNamespacePermissionLockdown['*']['move'] = array('user');
|
|||
$wgNamespacePermissionLockdown[NS_LEGAL]['move'] = array('Legal');
|
||||
$wgNamespacePermissionLockdown[NS_LICENSING]['move'] = array('Legal');
|
||||
$wgNamespacePermissionLockdown[NS_PACKAGING]['move'] = array('Packaging');
|
||||
|
||||
# disallow anyone from editing talk pages, we don't want to use them
|
||||
$wgNamespaceProtection[NS_TALK] = ['noone'];
|
||||
$wgNamespaceProtection[NS_USER_TALK] = ['noone'];
|
||||
$wgNamespaceProtection[NS_PROJECT_TALK] = ['noone'];
|
||||
$wgNamespaceProtection[NS_FILE_TALK] = ['noone'];
|
||||
$wgNamespaceProtection[NS_MEDIAWIKI_TALK] = ['noone'];
|
||||
$wgNamespaceProtection[NS_TEMPLATE_TALK] = ['noone'];
|
||||
$wgNamespaceProtection[NS_HELP_TALK] = ['noone'];
|
||||
$wgNamespaceProtection[NS_CATEGORY_TALK] = ['noone'];
|
||||
### END LOCKDOWN PERMISSIONS ###
|
||||
|
||||
# Experimentation - Added by nigelj 30/Dec/2008
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue