Extension:ProtectSite

From mediawiki.org
This page is a translated version of the page Extension:ProtectSite and the translation is 36% complete.
MediaWiki 拡張機能マニュアル
ProtectSite
リリースの状態: 安定
実装 特別ページ
説明 Allows a site administrator to temporarily block various site modifications
作者 Eric Johnston
Chris Stafford
Jack Phoenix
最新バージョン 0.5.0 (2016-12-05)
MediaWiki 1.39+
データベースの変更 いいえ
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード

  • $wgProtectSiteLimit
  • $wgProtectSiteDefaultTimeout
  • $wgProtectSiteExempt
protectsite
Quarterly downloads 10 (Ranked 134th)
translatewiki.net で翻訳を利用できる場合は、ProtectSite 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告

ProtectSite extension adds a new special page, Special:ProtectSite, where users with the protectsite user right can block various site modifications.

The extension will show up in the protection log (Special:Log/protect) as a protection of Special:AllPages.

When the extension is enabled, it will override the default settings that may already be defined for the timeout period specified.

インストール

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

利用者権限

By default the bureaucrat group has the protectsite right, which is required to access the special page.

パラメーター

  • $wgProtectSiteLimitmaximum time allowed for protection of the site
  • $wgProtectSiteDefaultTimeout — default timeout, 1 hour by default
  • $wgProtectSiteExemptarray of non-sysop user groups to be not affected by rights changes