Manual:$wgRestrictionLevels/ja

From MediaWiki.org
Jump to: navigation, search
サイトのカスタマイズ: $wgRestrictionLevels
'page protection'ページ上で選択できるパーミッションキーのセット。
導入されたバージョン: 1.6.0 (r12207)
除去されたバージョン: 使用中
可能な値: 文字列の配列
既定値: array( '', 'autoconfirmed', 'sysop' )

他の設定: アルファベット順 | 機能順


詳細[edit | edit source]

This variable contains a list of permission keys that can be selected for each restriction type on the "page protection" page (action=protect). 'autoconfirmed' allows all registered users if $wgAutoConfirmAge and $wgAutoConfirmCount are 0.

Note that this variable holds a list of user permissions/rights, not user groups. If you need to, you can make up your own permission and then assign it to the different user groups as required. For example:

# add an additional protection level restricting edit/move/etc. to users with the "docwriters" permission
$wgRestrictionLevels[] = 'docwriters'; 
# give the "docwriters" permission to users in the "docwriters" group
$wgGroupPermissions['docwriters']['docwriters'] = true;
# give the "docwriters" permission to sysops (needed so sysops can apply this protection level to pages)
$wgGroupPermissions['sysop']['docwriters'] = true;

追加のレベル(例えば 'docwriters' )を加える場合、それらは 'MediaWiki:Protect-level-docwriters' の内容の編集を経由して、名称をつける事ができます。

If you set a level higher than sysops, that is, protection from sysop editing, sysops cannot give a page that level of protection nor remove it, even with the 'protect' permission.

A user with the 'protect' permission still cannot protect a page that he/she can't edit, such as if defined as such by $wgNamespaceProtection.

関連項目[edit | edit source]

言語: English  • Deutsch • français • 日本語