MediaWiki  REL1_19
CompressOld Class Reference
Inheritance diagram for CompressOld:
Collaboration diagram for CompressOld:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.

Public Attributes

const LS_CHUNKED = 1
const LS_INDIVIDUAL = 0

Private Member Functions

 compressOldPages ($start=0, $extdb= '')
 compressPage ($row, $extdb)
 compressWithConcat ($startId, $maxChunkSize, $beginDate, $endDate, $extdb="", $maxPageId=false)

Detailed Description

Definition at line 45 of file compressOld.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Maintenance.

Definition at line 52 of file compressOld.php.

References Maintenance\addOption().

Here is the call graph for this function:


Member Function Documentation

CompressOld::compressOldPages ( start = 0,
extdb = '' 
) [private]
Todo:
document

Definition at line 105 of file compressOld.php.

References $res, compressPage(), Maintenance\output(), and wfGetDB().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

CompressOld::compressPage ( row,
extdb 
) [private]
Todo:
document
Parameters:
$row
$extdb
Returns:
bool

Definition at line 132 of file compressOld.php.

References Maintenance\error(), ExternalStoreDB\store(), and wfGetDB().

Referenced by compressOldPages().

Here is the call graph for this function:

Here is the caller graph for this function:

CompressOld::compressWithConcat ( startId,
maxChunkSize,
beginDate,
endDate,
extdb = "",
maxPageId = false 
) [private]
Parameters:
$startId
$maxChunkSize
$beginDate
$endDate
$extdbstring
$maxPageIdbool|int
Returns:
bool

Definition at line 173 of file compressOld.php.

References $dbr, $url, Maintenance\error(), Revision\getRevisionText(), LS_CHUNKED, Title\makeTitle(), Maintenance\output(), HistoryBlobStub\setLocation(), wfGetDB(), and wfWaitForSlaves().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 64 of file compressOld.php.

References $success, $wgDBname, compressOldPages(), compressWithConcat(), Maintenance\error(), Maintenance\getOption(), and Maintenance\output().

Here is the call graph for this function:


Member Data Documentation

Definition at line 50 of file compressOld.php.

Referenced by compressWithConcat().

Todo:
document

Definition at line 49 of file compressOld.php.


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