Extension:ProtectSite
Appearance
このページに加筆してください。 指定された理由: Needs more detail |
リリースの状態: 安定 |
|
|---|---|
| 実装 | 特別ページ |
| 説明 | Allows a site administrator to temporarily block various site modifications |
| 作者 | Eric Johnston Chris Stafford Jack Phoenix |
| 最新バージョン | 0.5.0 (2016-12-05) |
| MediaWiki | 1.43+ |
| データベースの変更 | いいえ |
|
|
|
|
protectsite |
|
| ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
| ダウンロード | |
| 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' );
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
利用者権限
By default the bureaucrat group has the protectsite right, which is required to access the special page.
パラメーター
$wgProtectSiteLimit— maximum time allowed for protection of the site$wgProtectSiteDefaultTimeout— default timeout,1 hourby default$wgProtectSiteExempt— array of non-sysop user groups that are not affected by rights changes
関連項目
- Extension:ProtectEntireWiki -- A extension that has more feature, include protect site (like this) and protect namespace.
| この拡張機能は以下のウィキ ファーム/ウィキ ホスト/パッケージに含まれています: |
