Manual:PopulateChangeTagDef.php

MediaWiki version:
1.32
Category:MediaWiki code#PopulateChangeTagDef.php

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 deletingOptional
--sleep Sleep time (in seconds) between every batch, defaults to zeroOptional
--populate-only Do not update change_tag_def tableOptional
--set-user-tags-only Only update ctd_user_defined from valid_tag tableOptional

Usage

php maintenance/run.php populateChangeTagDef [ --dry-run| --sleep| --populate-only| --set-user-tags-only ]
Terminal
Whenever the script runs, it makes a note in the database and will not run again. If you want to run the script again, run the command with the --force option.
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

Category:Maintenance scripts Category:Stats maintenance scripts
Category:Maintenance scripts Category:MediaWiki code Category:Stats maintenance scripts