MediaWiki
REL1_20
|
Mainteance script to populate the category table. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
Public Attributes | |
const | REPORTING_INTERVAL = 1000 |
Private Member Functions | |
doPopulateCategory ($begin, $maxlag, $throttle, $force) |
Mainteance script to populate the category table.
Definition at line 32 of file populateCategory.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 36 of file populateCategory.php.
References Maintenance\addOption(), and print.
PopulateCategory::doPopulateCategory | ( | $ | begin, |
$ | maxlag, | ||
$ | throttle, | ||
$ | force | ||
) | [private] |
Definition at line 68 of file populateCategory.php.
References Category\newFromName(), Maintenance\output(), wfGetDB(), and wfWaitForSlaves().
Referenced by execute().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 60 of file populateCategory.php.
References doPopulateCategory(), and Maintenance\getOption().
const PopulateCategory::REPORTING_INTERVAL = 1000 |
Definition at line 34 of file populateCategory.php.