Manual:PopulateChangeTagDef.php/pl
Appearance
| Wersja MediaWiki: | ≥ 1.32 |
| Plik MediaWiki: populateChangeTagDef.php | |
|---|---|
| Lokalizacja: | maintenance/ |
| Kod źródłowy: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| Klasy: | PopulateChangeTagDef |
Szczegóły
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 | 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
php maintenance/run.php populateChangeTagDef [ --dry-run| --sleep| --populate-only| --set-user-tags-only ]
Terminal
$ php maintenance/run.php populateChangeTagDef
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.
W wersji MediaWiki MediaWiki 1.39 i we wcześniejszych musisz wywoływać skrypty konserwacyjne poprzez
php maintenance/nazwaSkryptu.php zamiast php maintenance/run.php nazwaSkryptu.