MediaWiki
REL1_24
|
Class for scripts that perform database maintenance and want to log the update in `updatelog` so we can later skip it. More...
Public Member Functions | |
__construct () | |
execute () | |
Protected Member Functions | |
doDBUpdates () | |
Do the actual work. | |
getUpdateKey () | |
Get the update key name to go in the update log table. | |
updatelogFailedMessage () | |
Message to show the the update log was unable to log the completion of this update. | |
updateSkippedMessage () | |
Message to show that the update was done already and was just skipped. |
Class for scripts that perform database maintenance and want to log the update in `updatelog` so we can later skip it.
Definition at line 1267 of file Maintenance.php.
Reimplemented from Maintenance.
Reimplemented in PopulateLogSearch, PopulateLogUsertext, FixExtLinksProtocolRelative, PopulateParentId, PopulateRevisionLength, PopulateRevisionSha1, PopulateFilearchiveSha1, PopulateRecentChangesSource, PopulateBacklinkNamespace, and PopulateImageSha1.
Definition at line 1268 of file Maintenance.php.
LoggedUpdateMaintenance::doDBUpdates | ( | ) | [abstract, protected] |
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 in PopulateImageSha1, PopulateLogSearch, PopulateLogUsertext, FixExtLinksProtocolRelative, PopulateParentId, PopulateBacklinkNamespace, PopulateFilearchiveSha1, PopulateRevisionLength, PopulateRevisionSha1, and PopulateRecentChangesSource.
Reimplemented from Maintenance.
Reimplemented in PopulateImageSha1.
Definition at line 1274 of file Maintenance.php.
LoggedUpdateMaintenance::getUpdateKey | ( | ) | [abstract, protected] |
Get the update key name to go in the update log table.
Reimplemented in PopulateRecentChangesSource, PopulateImageSha1, PopulateLogSearch, PopulateLogUsertext, FixExtLinksProtocolRelative, PopulateParentId, PopulateRevisionLength, PopulateRevisionSha1, PopulateBacklinkNamespace, and PopulateFilearchiveSha1.
LoggedUpdateMaintenance::updatelogFailedMessage | ( | ) | [protected] |
Message to show the the update log was unable to log the completion of this update.
Definition at line 1313 of file Maintenance.php.
LoggedUpdateMaintenance::updateSkippedMessage | ( | ) | [protected] |
Message to show that the update was done already and was just skipped.
Reimplemented in PopulateImageSha1, PopulateLogSearch, PopulateLogUsertext, FixExtLinksProtocolRelative, PopulateParentId, PopulateBacklinkNamespace, and PopulateFilearchiveSha1.
Definition at line 1303 of file Maintenance.php.