Extension:GlobalUserrights
Appearance
リリースの状態: 安定 |
|
|---|---|
| 実装 | 特別ページ |
| 説明 | Allows easy management of global user rights through Special:GlobalUserrights |
| 作者 | Mainframe98, Nathaniel Herman (Pinkyトーク) |
| 最新バージョン | 1.5.0 (2017-10-02) |
| MediaWiki | 1.15+ |
| データベースの変更 | はい |
| テーブル | global_user_groups |
| ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
| ダウンロード | |
|
|
| translatewiki.net で翻訳を利用できる場合は、GlobalUserrights 拡張機能の翻訳にご協力ください | |
| 問題点 | 未解決のタスク · バグを報告 |
The GlobalUserrights extension enables global user groups and allows easy management of them via Special:GlobalUserrights. Global group changes are logged to Special:Log/gblrights (same place CentralAuth would log them). This extension is used in conjunction with $wgSharedDB.
インストール
- ダウンロードして、ファイルを
extensions/フォルダー内のGlobalUserrightsという名前のディレクトリ内に配置します。
開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GlobalUserrights
- 以下のコードを LocalSettings.php ファイルの末尾に追加します:
wfLoadExtension( 'GlobalUserrights' );
- 更新スクリプトを実行します。このスクリプトは、この拡張機能が必要とするデータベーステーブルを自動的に作成します。
- Make sure
global_user_groupsis a shared table by adding it to $wgSharedTables in LocalSettings.php - e.g.$wgSharedTables[] = 'global_user_groups'; - Be sure to give the
userrights-globalright to users who need access to Special:GlobalUserRights; by default thestaffgroup has this user right. If you would want to allow administrators to access the special page, you could add the following to the configuration file:$wgGroupPermissions['sysop']['userrights-global'] = true;
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
使用法
- Go to Special:GlobalUserrights
- Enter in the user name of the user whose global rights you want to change.
- Use the interface to add or remove global groups to/from the user and save.
システムメッセージ
このページは直近の情報を反映していません。 |
The following new system messages are defined by this extension:
| メッセージ | 既定値 | 説明 |
|---|---|---|
| globaluserrights | Global User Rights Management | Special page title displayed on Special:SpecialPages and on Special:GlobalUserrights |
| gur-desc | Easy global user rights administration | Extension description shown on Special:Version |
| gur-rightslog-name | Global rights log | Log title for Special:Log/gblrights, the log where global user rights changes are stored. This will also be displayed on the dropdown menu on Special:Log. |
| gur-rightslog-header | This is a log of changes to global rights. | Displayed on Special:Log/gblrights, explaining the purpose of that log. |
| gur-rightslog-entry | changed global group membership for $1 from $2 to $3 | Log entry generated by this extension when a user's global groups are changed. $1 is the user whose groups were changed, $2 is the array of old groups and $3 is the array of new groups. |
| logentry-gblrights-rights | $1 changed global group membership for $3 from $4 to $5 | New style log entry generated by this extension when a user's global groups are changed. $1 is the user who changed the right, $2 is the user's gender, $3 is the user whose groups were changed, $4 is the array of old groups, $5 is the array of new groups and $6 is the gender of the user whose groups where changed. |
| right-userrights-global | Manage global user rights | Description of the user right, will be shown on Special:ListGroupRights |
Categories:
- Stable extensions/ja
- Special page extensions/ja
- GPL licensed extensions/ja
- Extensions in Wikimedia version control/ja
- LoadExtensionSchemaUpdates extensions/ja
- SiteStatsNumberInGroup extensions/ja
- SpecialListusersQueryInfo extensions/ja
- UserEffectiveGroups extensions/ja
- UserIsBot extensions/ja
- UsersPagerDoBatchLookups extensions/ja
- All extensions/ja
- Outdated pages/ja
- Extensions by ShoutWiki/ja
