Manual:NukeNS.php/ro

MediaWiki version:
1.10
Category:MediaWiki code/ro#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. A fost adaugat initial pentru a sterge continutul textului interfetelor din spatiul de nume MediaWiki, dar practic poate fi folosit pentru a sterge toate paginile din "orice" spatiu de nume.

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

Options/Arguments

OptionDescriptionRequired?
--deleteSterge paginile si reviziile lor. 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. See Manual:Namespace for a list.Optional
--allSterge pagini indiferent de numarul de revizii. Cu aceasta optiune, nu doar paginile cu o singura revizie, dar si paginile cu mai mult de o revizie vor fi sterse.Optional

Usage

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

See also

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