Manual:populateCategory.php
この機能は、バージョン 1.36 で完全に除去されました。 |
MediaWiki バージョン: | ≦ 1.35 |
MediaWiki ファイル: populateCategory.php | |
---|---|
場所: | maintenance/ |
ソース コード: | master • 1.42.3 • 1.41.4 • 1.39.10 |
クラス: | PopulateCategory |
詳細
populateCategory.php file is a maintenance script to populate the category table. This table keeps track of how many articles, files and subcategories are in a category. It is also used for displaying information on Special:Categories page. This script is automatically run by update.php if updating from before MediaWiki 1.13.
This script was removed for MediaWiki version 1.36 and later.
If you have incorrect counts of how many articles are in a category, see Manual:recountCategories.php instead.
オプション/引数
オプション | 説明 | 必須かどうか |
---|---|---|
--begin | Only do categories whose names are alphabetically after the provided name | 省略可能 |
--throttle | Wait this many milliseconds after each category. Default: 0 | 省略可能 |
--force | Run regardless of whether the database says it's been run already | 省略可能 |
使用法
php maintenance/populateCategory.php [ --begin| --throttle| --force ]
Terminal
$ php maintenance/populateCategory.php
When the script has finished, it will make a note of this in the database, and will not run again without the --force option.