Public Member Functions | |
check ($fix=false, $xml= '') | |
error ($type, $msg, $ids) | |
checkExternalConcatBlobs ($externalConcatBlobs) | |
restoreText ($revIds, $xml) | |
importRevision (&$revision, &$importer) | |
Public Attributes | |
$oldIdMap | |
$errors | |
$dbStore = null | |
$errorDescriptions |
Definition at line 30 of file checkStorage.php.
CheckStorage::check | ( | $ | fix = false , |
|
$ | xml = '' | |||
) |
CheckStorage::checkExternalConcatBlobs | ( | $ | externalConcatBlobs | ) |
CheckStorage::error | ( | $ | type, | |
$ | msg, | |||
$ | ids | |||
) |
Definition at line 317 of file checkStorage.php.
Referenced by check(), and checkExternalConcatBlobs().
CheckStorage::importRevision | ( | &$ | revision, | |
&$ | importer | |||
) |
Definition at line 426 of file checkStorage.php.
References $dbr, $dbw, $flags, $fname, $revision, $text, Revision::compressRevisionText(), and wfGetDB().
CheckStorage::restoreText | ( | $ | revIds, | |
$ | xml | |||
) |
Definition at line 375 of file checkStorage.php.
References $dbr, $dbw, $file, $source, $wgDBname, $wgTmpDirectory, print, wfEscapeShellArg(), and wfGetDB().
Referenced by check().
CheckStorage::$dbStore = null |
Definition at line 32 of file checkStorage.php.
CheckStorage::$errorDescriptions |
Initial value:
array( 'restore text' => 'Damaged text, need to be restored from a backup', 'restore revision' => 'Damaged revision row, need to be restored from a backup', 'unfixable' => 'Unexpected errors with no automated fixing method', 'fixed' => 'Errors already fixed', 'fixable' => 'Errors which would already be fixed if --fix was specified', )
Definition at line 34 of file checkStorage.php.
CheckStorage::$errors |
CheckStorage::$oldIdMap |
Definition at line 31 of file checkStorage.php.