CheckStorage Class Reference
[MaintenanceExternalStorage]

List of all members.

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


Detailed Description

Definition at line 30 of file checkStorage.php.


Member Function Documentation

CheckStorage::check ( fix = false,
xml = '' 
)

CheckStorage::checkExternalConcatBlobs ( externalConcatBlobs  ) 

Definition at line 340 of file checkStorage.php.

References $fname, $res, $row, and error().

Referenced by check().

CheckStorage::error ( type,
msg,
ids 
)

Definition at line 317 of file checkStorage.php.

References $type, and print.

Referenced by check(), and checkExternalConcatBlobs().

CheckStorage::importRevision ( &$  revision,
&$  importer 
)

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


Member Data Documentation

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

Definition at line 31 of file checkStorage.php.

Referenced by check().

CheckStorage::$oldIdMap

Definition at line 31 of file checkStorage.php.


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

Generated on Sat Sep 5 02:08:34 2009 for MediaWiki by  doxygen 1.5.9