Manual:NukePage.php/de

MediaWiki Version:
1.6
Category:MediaWiki code/de#NukePage.php

Details

nukePage.php file is a maintenance script to erase a page record from the database irreversibly (you cannot use standard undelete functions to restore it).

The script does not update link tables, which means that links to and from that page will still be present in Special:WhatLinksHere queries, for example.

Warnung Warnung: This script attempts to remove unused entries from the text table, which can cause potential data loss and is very slow for large wikis.

Optionen/Argumente

Option/Argument Beschreibung Notwendig?
titlepagetitle is the title of the page you want to delete. Include the namespace and use underscores instead of spaces.Notwendig
--deleteUse this option to actually delete the page. Otherwise it will just print out if the page was found or not, but won't perform any deletion.Optional

Verwendung

php maintenance/run.php nukePage pageTitle [ --delete ]
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Dry run to check deletion

Terminal

Making deletion action

Terminal

Siehe auch

Category:Maintenance scripts/de#NukePage.php Category:Content maintenance scripts/de
Category:Content maintenance scripts/de Category:Maintenance scripts/de Category:MediaWiki code/de