MediaWiki  REL1_24
PopulateRecentChangesSource Class Reference

Maintenance script to populate the rc_source field. More...

Inheritance diagram for PopulateRecentChangesSource:
Collaboration diagram for PopulateRecentChangesSource:

List of all members.

Public Member Functions

 __construct ()

Protected Member Functions

 buildUpdateCondition (DatabaseBase $dbw)
 doDBUpdates ()
 Do the actual work.
 getUpdateKey ()
 Get the update key name to go in the update log table.

Detailed Description

Maintenance script to populate the rc_source field.

Since:
1.22

Definition at line 32 of file populateRecentChangesSource.php.


Constructor & Destructor Documentation


Member Function Documentation

Do the actual work.

All child classes will need to implement this. Return true to log the update as done or false (usually on failure).

Returns:
bool

Reimplemented from LoggedUpdateMaintenance.

Definition at line 40 of file populateRecentChangesSource.php.

References array(), buildUpdateCondition(), Maintenance\error(), Maintenance\getDB(), Maintenance\output(), and wfWaitForSlaves().

Get the update key name to go in the update log table.

Returns:
string

Reimplemented from LoggedUpdateMaintenance.

Definition at line 82 of file populateRecentChangesSource.php.


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