Jump to content

Manual:$wgRestrictUserPageEditing

From mediawiki.org
This page is a translated version of the page Manual:$wgRestrictUserPageEditing and the translation is 40% complete.
利用者権限、アクセス制御、モニタリング: $wgRestrictUserPageEditing
Restricts editing of other users' user pages
導入されたバージョン:1.47.0 (Gerrit change 1283109; git #b5524d53)
除去されたバージョン:使用中
許容される値:(真偽値)
既定値:false

詳細

When enabled, only users with the editalluserpages right may edit other users' user pages: this applies to the whole User namespace (including subpages), but not to user talk pages.

This functionality is adapted from the UserPageEditProtection extension.

設定

By default, no group has the editalluserpages right. So, if you want to restrict editing to administrators only, do the following:

$wgRestrictUserPageEditing = true;
$wgGroupPermissions['sysop']['editalluserpages'] = true;
If the editalluserpages right is not explicitly granted to any group, only the page owner will be able to edit within the user namespace.