Manual:populateChangeTagDef.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.32
<translate> MediaWiki version:</translate>

Details

This script populates and improves accuracy of change_tag_def table statistics.

Options/Arguments

Option Description Required?
--dry-run Print debug info instead of actually deleting <translate> Optional</translate>
--sleep Sleep time (in seconds) between every batch, defaults to zero <translate> Optional</translate>
--populate-only Do not update change_tag_def table <translate> Optional</translate>
--set-user-tags-only Only update ctd_user_defined from valid_tag table <translate> Optional</translate>

Usage

php maintenance/populateChangeTagDef.php [ --dry-run| --sleep| --populate-only| --set-user-tags-only ]
Terminal


<translate> Whenever the script runs, it makes a note in the database and will not run again.</translate> <translate> If you want to run the script again, run the command with the <tvar name=1>--force</tvar> option.</translate>

See also