Extension:AuthorProtect

This page is a translated version of the page Extension:AuthorProtect and the translation is 30% complete.
MediaWiki 拡張機能マニュアル
AuthorProtect
リリースの状態: 安定
実装 利用者権限 , ページの操作
説明 Allows the author of a page to protect it from other users
作者 Ryan Schmidt (Skizzerzトーク)
最新バージョン 1.4.0 (2017-11-25)
MediaWiki 1.29+
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
  • $wgRestrictionLevels
  • author
  • authorprotect
Quarterly downloads 6 (Ranked 141st)
translatewiki.net で翻訳を利用できる場合は、AuthorProtect 拡張機能の翻訳にご協力ください

The AuthorProtect extension allows page authors to protect pages from non-authors on a page-by-page basis. Authors with the 'authorprotect' permission will gain a protect tab on pages that gives them (author) access to this interface. Because logs and anonymous users don't mix very well (as with the fact that all anonymous users share the same user id), anonymous users are unable to use this extension regardless of if they have the 'authorprotect' right or not.

Do not assign the author right via GroupPermissions (except to those who you want to be able to edit author-protected pages)! This right is automatically assigned to the author of the page. Assigning this right via $wgGroupPermissions gives that group the ability to edit all author-protected pages, regardless of if they are the author of the page or not (by default user group administrators have this right).

インストール

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

関連項目