Manual:$wgGroupsAddToSelf

This page is a translated version of the page Manual:$wgGroupsAddToSelf and the translation is 62% complete.
利用者権限、アクセス制御、モニタリング: $wgGroupsAddToSelf
Use this to allow users to add themselves to specified groups via Special:Userrights.
導入されたバージョン:1.12.0 (r29765)
除去されたバージョン:使用中
許容される値:(配列)
既定値:[]

詳細

$wgGroupsAddToSelf allows users to add themselves userrights.

MediaWiki バージョン:
1.14

1.14 以降の構文は以下の通り:

$wgGroupsAddToSelf['sysop'][] = 'bot'; // 管理者は以下のようにして自身をボット グループに追加できます: $wgGroupsAddToSelf['sysop'] = array( 'bot' );
MediaWiki バージョン:
1.12 – 1.13

MW 1.12 - 1.13 の構文は以下の通り:

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

1.14.0 での変更点

r39368 で、この変数の動作が変更されました。 Before, it allowed every user to add those groups to themselves, now it can be filtered on a per-group basis.

The new syntax is $wgGroupsAddToSelf['group1'] = array( 'group2', 'group3' ); which allows any user in the group "group1" to add the groups "group2" and "group3" to themselves. The old syntax will still work for allowing every user to add groups to themselves, but it is recommended that you use $wgGroupsAddToSelf['user'] = array( 'group1', 'group2' ); instead.

You may use $wgGroupsAddToSelf['group'] = true; to allow users in that group to add every group to themselves.

関連項目