Manual:populateChangeTagDef.php
MediaWiki version: | ≥ 1.32 |
MediaWiki file: populateChangeTagDef.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.1 • 1.41.2 • 1.39.8 |
Classes: | PopulateChangeTagDef |
Details
editThis script populates and improves accuracy of change_tag_def table statistics.
Options/Arguments
editOption | Description | Required? |
---|---|---|
--dry-run | Print debug info instead of actually deleting | Optional |
--sleep | Sleep time (in seconds) between every batch, defaults to zero | Optional |
--populate-only | Do not update change_tag_def table | Optional |
--set-user-tags-only | Only update ctd_user_defined from valid_tag table | Optional |
Usage
editphp maintenance/populateChangeTagDef.php [ --dry-run| --sleep| --populate-only| --set-user-tags-only ]
Terminal
$ php maintenance/populateChangeTagDef.php
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.