MediaWiki
REL1_20
|
Maintenance script that populates the rev_len field for old revisions created before MW 1.10. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
doDBUpdates () | |
Do the actual work. | |
Protected Member Functions | |
getUpdateKey () | |
Get the update key name to go in the update log table. | |
updateSkippedMessage () | |
Message to show that the update was done already and was just skipped. |
Maintenance script that populates the rev_len field for old revisions created before MW 1.10.
Definition at line 32 of file populateRevisionLength.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from LoggedUpdateMaintenance.
Definition at line 33 of file populateRevisionLength.php.
References Maintenance\setBatchSize().
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).
Reimplemented from LoggedUpdateMaintenance.
Definition at line 47 of file populateRevisionLength.php.
References $count, $res, Maintenance\error(), Maintenance\getDB(), Maintenance\output(), Revision\selectFields(), and wfWaitForSlaves().
PopulateRevisionLength::getUpdateKey | ( | ) | [protected] |
Get the update key name to go in the update log table.
Reimplemented from LoggedUpdateMaintenance.
Definition at line 39 of file populateRevisionLength.php.
PopulateRevisionLength::updateSkippedMessage | ( | ) | [protected] |
Message to show that the update was done already and was just skipped.
Reimplemented from LoggedUpdateMaintenance.
Definition at line 43 of file populateRevisionLength.php.