Manual:$wgGroupsRemoveFromSelf

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgGroupsRemoveFromSelf and the translation is 73% complete.

Other languages:
English • ‎日本語 • ‎polski • ‎русский
User Access: $wgGroupsRemoveFromSelf
Special:Userrights で利用者が自身を指定したグループから除去できるようにする。
導入されたバージョン: 1.12.0 (r29765)
除去されたバージョン: 使用中
可能な値: 配列
既定値: array()
他の設定: アルファベット順 | 機能順

詳細[edit]

$wgGroupsRemoveFromSelf は、利用者が自身の利用者権限を除去できるようにします。

1.14 以降の構文
$wgGroupsRemoveFromSelf['sysop'][] = 'bot'; // 管理者は自身からボット権限を除去できる: $wgGroupsRemoveFromSelf['sysop'] = array( 'bot' );
MediaWiki 1.12 - 1.13 の構文
$wgGroupsRemoveFromSelf = array( 'group1', 'group2', '...' );

1.14.0 での変更点[edit]

In r39368, the way this variable works was changed. Before, it allowed every user to remove groups from themselves, now it can be filtered on a per-group basis. The new syntax is $wgGroupsRemoveFromSelf['group1'] = array( 'group2', 'group3' ); which allows any user in the group "group1" to remove the groups "group2" and "group3" from themselves. The old syntax will still work, allowing every user to remove groups from themselves, but it is recommended that you use$wgGroupsRemoveFromSelf['user'] = array( 'group1', 'group2' ); instead.

You may use $wgGroupsRemoveFromSelf['group'] = true; to allow users in that group to remove every group from themselves.

関連項目[edit]