Extension:UserGroups

From mediawiki.org
This page is a translated version of the page Extension:UserGroups and the translation is 50% complete.
MediaWiki 拡張機能マニュアル
UserGroups
リリースの状態: 保守されていない
実装 特別ページ , 利用者権限
説明 Provides finer control over user groups and user rights.
作者 Withoutaname
最新バージョン 1.0.0
MediaWiki 1.24+
PHP 5.3.10+
データベースの変更 いいえ
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
modifygroups
Quarterly downloads 23 (Ranked 126th)
translatewiki.net で翻訳を利用できる場合は、UserGroups 拡張機能の翻訳にご協力ください

The UserGroups extension adds a special page called Special:UserGroups that allows the user accessing it the ability to create, delete, modify and configure user groups in terms of the user rights registrations or associations with it. 今は亡きExtension:GroupPermissionsManager の復活とも考えられる。 This is different from Special:UserRights, which only determines how to allocate user rights to certain users based upon membership of certain user groups.

このように$wgAddGroups $wgRemoveGroups を設定することはできず、LocalSettings.phpで行う必要があります。 また、グループを削除する際には注意が必要です。間違った方法で削除すると、Wikiからロックアウトされる可能性があります。 It is not possible to remove some system-created rights (such as CheckUser) completely through this extension; see Manual:利用者権限 instead on how to do this manually.

If you are still locked out, the last options are to have someone else grant you the groups again, or at worst (if you are the only one) to grant yourself the rights manually via the database in the user_groups table.

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のUserGroupsという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UserGroups
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'UserGroups' );
    
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

利用者権限

  • modifygroups - Determines control of access to the Special:UserGroups special page interface, or in essence who is allowed to modify and configure user groups and their associated permissions. By default, this access is restricted to bureaucrats.

However, if you want to grant this right to other groups, add this to LocalSettings.php .

$wgGroupPermissions['sysop']['modifygroups'] = true;

関連項目