Extension:PrivateDomains
Appearance
リリースの状態: 安定 |
|
|---|---|
| 実装 | 特別ページ |
| 説明 | 特定のメールアドレスを持つ利用者の編集を制限できます。 |
| 作者 | Inez Korczyński Jack Phoenix |
| 最新バージョン | 1.5.0 |
| MediaWiki | 1.43+ |
| ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
| ダウンロード | |
|
|
| translatewiki.net で翻訳を利用できる場合は、PrivateDomains 拡張機能の翻訳にご協力ください | |
The PrivateDomains extension restricts wiki editing to users with a certain email address. It adds a new special page, Special:PrivateDomains, to allow changing the name of the organization and to add "trusted" email addresses. Bureaucrats and staff members can access this special page by default.
If a non-privileged user (someone who does not have the organization's email address) tries to edit, they see a warning box about the fact that they cannot change pages on the wiki. Be aware that the user can't view pages' wikitext source either.
インストール
- ダウンロードして、ファイルを
extensions/フォルダー内のPrivateDomainsという名前のディレクトリ内に配置します。
開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PrivateDomains
- 以下のコードを LocalSettings.php ファイルの末尾に追加します:
wfLoadExtension( 'PrivateDomains' );
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
設定
While PrivateDomains settings are meant to be edited via Special:PrivateDomains, they are stored in the MediaWiki: namespace and thus they can also be directly edited.
- MediaWiki:Privatedomains-domains — contains the list of allowed email domains
- MediaWiki:Privatedomains-affiliatename — contains the name of the organization, i.e. FooCorp, Inc. or Bar State University
- MediaWiki:Privatedomains-emailadmin — contains the name of a wiki user whom users can contact if they're having issues
