Manual:$wgGroupsRemoveFromSelf/ja

From Linux Web Expert

<translate> User rights, access control and monitoring</translate>: $wgGroupsRemoveFromSelf
Special:Userrights で利用者が自身を指定したグループから除去できるようにする。
<translate> Introduced in version:</translate>1.12.0 (r29765)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(配列)
<translate> Default value:</translate>[]

詳細

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

MediaWiki バージョン:
<translate> ≥</translate> 1.14

1.14 以降の構文:

$wgGroupsRemoveFromSelf['sysop'][] = 'bot'; // 管理者は自身からボット権限を除去できる: $wgGroupsRemoveFromSelf['sysop'] = array( 'bot' );
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.13</tvar> is unsupported version</translate>">
1.12 – 1.13
<translate> MediaWiki versions:</translate>

MediaWiki 1.12 - 1.13 の構文:

$wgGroupsRemoveFromSelf = array( 'group1', 'group2', '...' );

1.14.0 での変更点

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.

関連項目