Extension:DeletePagesForGood
Jump to navigation
Jump to search
![]() | この拡張機能は、現行の安定版である MediaWiki 1.35 リリースと互換性がありません! 本番環境のサイトではこの拡張機能を使用しないよう勧告します。 Volunteer developers are invited to pledge their efforts to updating this extension to make it compatible with MediaWiki 1.35 by replacing the {{Incompatible }} template with {{Incompatible |pledge=~~~~}} . |
DeletePagesForGood リリースの状態: 安定 |
|
---|---|
実装 | ページの操作 |
説明 | Allows users to delete pages permanently from database |
作者 | Paladoxトーク |
最新バージョン | 2.0 (2019-06-02) |
MediaWiki | 1.25 - 1.34? |
PHP | 5.5.9+ |
データベースの変更 | いいえ |
ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
ダウンロード | |
|
|
|
|
translatewiki.net で翻訳を利用できる場合は、DeletePagesForGood 拡張機能の翻訳にご協力ください | |
問題点 | 未解決のタスク · バグを報告 |
The DeletePagesForGood extension allows users to delete pages permanently from the database by adding a new delete tab to each page.
インストール
- ダウンロードして、ファイルを
extensions/
フォルダー内のDeletePagesForGood
という名前のディレクトリ内に配置します。 - 以下のコードを LocalSettings.php の末尾に追加します:
wfLoadExtension( 'DeletePagesForGood' );
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
利用者の権限
You can configure the user rights in LocalSettings.php :
Defaults from DeletePagePermanently.php:
$wgGroupPermissions['*']['deleteperm'] = false;
$wgGroupPermissions['user']['deleteperm'] = false;
$wgGroupPermissions['bureaucrat']['deleteperm'] = false;
$wgGroupPermissions['sysop']['deleteperm'] = true;
The extension introduces a new user rights deleteperm.
名前空間
To configure this, add some lines to your LocalSettings.php :
$wgDeletePagesForGoodNamespaces = [
NS_MAIN => true,
NS_TALK => true,
NS_CATEGORY => true,
NS_CATEGORY_TALK => true,
NS_TEMPLATE => true,
NS_TEMPLATE_TALK => true,
NS_USER => true,
NS_USER_TALK => true,
NS_FILE => true,
NS_FILE_TALK => true,
];
Built-in namespaces are described on Meta-Wiki.