Jump to content

Manual:deleteEqualMessages.php

From mediawiki.org
MediaWiki version:
1.21

Details

[edit]

deleteEqualMessages.php file is a maintenance script to delete all pages in the MediaWiki namespace of which the content is equal to the system default. This is useful to make sure all messages will be pulled from TranslateWiki.net once wiki is upgraded.

Options/Arguments

[edit]
Option Description Required?
--delete Does the deletion of the pages. Optional
--delete-talk Delete talk pages as well; do not leave orphaned talk pages behind. Should be used together with "--delete". Optional
--lang-code Check for subpages of this lang-code (default: root page against content language) Optional

Usage

[edit]
php maintenance/deleteEqualMessages.php [ --delete| --delete-talk| --lang-code ]


Checking potential deletion

[edit]
Terminal

Making actual deletion

[edit]
Terminal

See also

[edit]