Open main menu

Extension:DeletePagesForGood

This page is a translated version of the page Extension:DeletePagesForGood and the translation is 36% complete.

インストール

  • ダウンロードして、ファイルを 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 = array(
	NS_MAIN => true,
	NS_IMAGE => true,
	NS_IMAGE_TALK => true,
	NS_CATEGORY => true,
	NS_CATEGORY_TALK => true,
	NS_TEMPLATE => true,
	NS_TEMPLATE_TALK => true,
	NS_TALK => true,
	NS_USER => true,
	NS_USER_TALK => true,
	NS_FILE => true,
	NS_FILE_TALK => true,
);

Built-in namespaces are described on meta-wiki.