Manual:NukeNS.php/de

MediaWiki Version:
1.10
Category:MediaWiki code/de#NukeNS.php

Details

nukeNS.php file is a maintenance script to remove all pages with only one revision (by default) from the MediaWiki namespace, without flooding recent changes, deletion logs, etc. It has originally been added to remove the content of unchanged interface texts from the MediaWiki namespace, but it can be used to basically delete all pages from any namespace.

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

OptionBeschreibungNotwendig?
--deleteActually delete the pages and their revisions. Without this option, the script works in dry-run mode.Optional
--nsNamespace to delete from. Defaults to the MediaWiki: namespace. You must provide the namespace number, not the name. Siehe Handbuch:Namensraum für eine Liste.Optional
--allDelete pages regardless of revision count. With this option, not only pages with only one single revision, but also pages with more than one revision will be deleted.Optional

Verwendung

php maintenance/run.php nukeNS [ --delete| --ns| --all ]
In MediaWiki version 1.39.13 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Checking potential deletion

Terminal

Making deletion

Terminal

Siehe auch

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