Manual:deleteEqualMessages.php

From Linux Web Expert

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.21
<translate> MediaWiki version:</translate>

詳細

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.

オプション/引数

オプション 説明 必須かどうか
--delete Does the deletion of the pages. <translate> Optional</translate>
--delete-talk Delete talk pages as well; do not leave orphaned talk pages behind. Should be used together with "--delete". <translate> Optional</translate>
--lang-code Check for subpages of this lang-code (default: root page against content language) <translate> Optional</translate>

使用法

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


Checking potential deletion

Terminal

Making actual deletion

Terminal

関連項目