Jump to content

Manual:NukeNS.php/ro

From mediawiki.org
This page is a translated version of the page Manual:NukeNS.php and the translation is 22% complete.
MediaWiki version:
1.10

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. In MediaWiki 1.45 or later, this step is skipped if $wgMiserMode is enabled.

Options/Arguments

Option Description Required?
--delete Sterge paginile si reviziile lor. Without this option, the script works in dry-run mode. Optional
--ns Namespace to delete from. Defaults to the MediaWiki: namespace. You must provide the namespace number, not the name. See Manual:Namespace for a list. Optional
--all Sterge 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.43.6 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