Jump to content

Extension:DeletePagesForGood/pl

From mediawiki.org
This page is a translated version of the page Extension:DeletePagesForGood and the translation is 9% complete.
Podręcznik rozszerzeń MediaWiki
DeletePagesForGood
Status wydania: stabilne
Realizacja Akcja strony
Opis Allows users to delete pages permanently from database
Autor(zy) Paladoxdyskusja
Ostatnia wersja 2.0
MediaWiki >= 1.38.0
Zmiany w bazie danych Nie
Composer mediawiki/deletepagesforgood
Licencja Licencja GNU General Public License 2.0 lub nowsza
Pobieranie
  • $wgDeletePagesForGoodNamespaces
  • $wgDeletePagesForGoodDeleteContent
  • deleteperm
Quarterly downloads 20 (Ranked 111st)
Przetłumacz rozszerzenie DeletePagesForGood jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

The DeletePagesForGood extension allows users to delete pages permanently from the database by adding a new delete tab to each page. Even if you permanently delete a page, the page title, how many edits does the page have and the time of edits can still be seen through CheckUser if you enter the user or IP address who created or edited the page.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie DeletePagesForGood w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DeletePagesForGood
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'DeletePagesForGood' );
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

User rights

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.

Namespaces

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 the help page on namespaces .