Manual:PopulateCategory.php/ja

Category:MediaWiki deprecated or obsolete features/ja#PopulateCategory.php
MediaWiki バージョン:
1.35
Category:MediaWiki code/ja#PopulateCategory.php

詳細

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.

オプション/引数

オプション説明必須かどうか
--beginOnly do categories whose names are alphabetically after the provided name省略可能
--throttleWait this many milliseconds after each category. Default: 0省略可能
--forceRun regardless of whether the database says it's been run already省略可能

使用法

php maintenance/populateCategory.php [ --begin| --throttle| --force ]
Terminal
When the script has finished, it will make a note of this in the database, and will not run again without the --force option.

関連項目

Category:Maintenance scripts/ja Category:Content maintenance scripts/ja
Category:Content maintenance scripts/ja Category:Maintenance scripts/ja Category:MediaWiki code/ja Category:MediaWiki deprecated or obsolete features/ja