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) |
Definition at line 13 of file populateCategory.php.
PopulateCategory::__construct | ( | ) |
Default constructor.
Children should call this if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 17 of file populateCategory.php.
PopulateCategory::doPopulateCategory | ( | $ | begin, | |
$ | maxlag, | |||
$ | throttle, | |||
$ | force | |||
) | [private] |
Definition at line 48 of file populateCategory.php.
References $dbw, $i, $name, Category::newFromName(), Maintenance::output(), wfGetDB(), wfOut(), and wfWaitForSlaves().
Referenced by execute().
PopulateCategory::execute | ( | ) |
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 40 of file populateCategory.php.
References doPopulateCategory(), and Maintenance::getOption().
const PopulateCategory::REPORTING_INTERVAL = 1000 |
Definition at line 15 of file populateCategory.php.