Extension:PrivateDomains/ja

From Linux Web Expert

MediaWiki 拡張機能マニュアル
PrivateDomains
リリースの状態: 安定
実装 特別ページ
説明 特定のメールアドレスを持つユーザーに編集を制限することができます。
作者 Inez Korczyński
Jack Phoenix
最新バージョン 1.5.0
MediaWiki 1.39+
ライセンス ライセンス未指定
ダウンロード
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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.

インストール

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/PrivateDomains/ja</tvar>|Download]] and move the extracted <tvar name=name>PrivateDomains/ja</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PrivateDomains%2Fja
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'PrivateDomains/ja' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

設定

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