MediaWiki  REL1_20
PopulateCategory Class Reference

Mainteance script to populate the category table. More...

Inheritance diagram for PopulateCategory:
Collaboration diagram for PopulateCategory:

List of all members.

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)

Detailed Description

Mainteance script to populate the category table.

Definition at line 32 of file populateCategory.php.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().


Member Data Documentation

Definition at line 34 of file populateCategory.php.


The documentation for this class was generated from the following file: