Udvidelse:DeletePagesForGood

This page is a translated version of the page Extension:DeletePagesForGood and the translation is 36% complete.
Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
DeletePagesForGood
Release status: stabil
Implementation Page action
Beskrivelse Allows users to delete pages permanently from database
Forfatter(e) Paladoxtalk
Latest version 2.0 (2019-06-02)
MediaWiki 1.25+
PHP 5.5.9+
Database changes Nej
Licens GNU General Public License 2.0 or later
Download
deleteperm
Translate the DeletePagesForGood extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

The DeletePagesForGood extension allows users to delete pages permanently from the database by adding a new delete tab to each page.

Installation

  • Download and place the file(s) in a directory called DeletePagesForGood in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'DeletePagesForGood' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Brugerrettigheder

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.

Navnerum

To configure this, add some lines to your LocalSettings.php :

$wgDeletePagesForGoodNamespaces = [
	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.