Extension:PrivateDomains

From mediawiki.org
This page is a translated version of the page Extension:PrivateDomains and the translation is 31% complete.
MediaWiki 拡張機能マニュアル
PrivateDomains
リリースの状態: 安定
実装 特別ページ
説明 特定のメールアドレスを持つユーザーに編集を制限することができます。
作者 Inez Korczyński
Jack Phoenix
最新バージョン 1.5.0
MediaWiki 1.39+
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
  • privatedomains
Quarterly downloads 1 (Ranked 144th)
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' );
    
  • Yes 完了 – ウィキの「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-domainscontains the list of allowed email domains
  • MediaWiki:Privatedomains-affiliatenamecontains the name of the organization, i.e. FooCorp, Inc. or Bar State University
  • MediaWiki:Privatedomains-emailadmincontains the name of a wiki user whom users can contact if they're having issues