Manual:$wgGroupPermissions/ja

詳細
$wgGroupPermissions は利用者グループと許可する権限をキーとした二次元の配列です. 設定できる値は、権限を付与する場合の  か付与しない場合の   どちらかになります.

$wgGroupPermissionsで許可されているアクセス権は、常に累積されます. If a user is member of different groups, then the user will get a right if it is granted to at least one of these groups even if it is not granted to their other groups. In other words, If one of the user's groups has a right, then it is not possible to take the right away using. Instead use to revoke permissions.

例
Until REL 1.24:

Since REL 1.25 do in :

これはすべての登録利用者にページを編集する権限を付与します.

カスタムの利用者グループ
あなた自身の利用者グループを定義することもできます. 利用者グループの名前は255文字以内にしてください. The groups, which have been defined either in or in, can be assigned to users through the wiki Special:Userrights interface.

例 (until REL 1.24 or in LocalSettings.php)

例 in extension.json (since REL 1.25)

This creates a group called "trustworthy".

Now add human readable names for your newly created group to the wiki for the "trustworthy" group, e.g. on page "MediaWiki:Group-trustworthy" in plural "Trustworthy editors" and on page "MediaWiki:Group-trustworthy-member" in singular "Trustworthy editor". This is an optional but recommended step.

Users of that group have the same permissions as users from the groups "autoconfirmed" and "bot". Additionally, they will be able to delete and protect pages, and to patrol edits.

For in-depth documentation, see.

既定値
Default values vary from version to version. You may find the one which apply to your mediawiki setup in. 詳細情報は を参照してください.

拡張機能の使用
Some extensions, such as or, add new rights which can be configured and assigned in the same manner.