MediaWiki  REL1_24
UpdateLogging Class Reference

Maintenance script that upgrade for log_id/log_deleted fields in a replication-safe way. More...

Collaboration diagram for UpdateLogging:

List of all members.

Public Member Functions

 copyExactMatch ($srcTable, $dstTable, $copyPos)
 execute ()
 sync ($srcTable, $dstTable)
 Copy all rows from $srcTable to $dstTable.

Public Attributes

 $batchSize = 1000
DatabaseBase $dbw
 $minTs = false

Detailed Description

Maintenance script that upgrade for log_id/log_deleted fields in a replication-safe way.

Definition at line 32 of file upgradeLogging.php.


Member Function Documentation

UpdateLogging::copyExactMatch ( srcTable,
dstTable,
copyPos 
)

Definition at line 180 of file upgradeLogging.php.

References array(), and as.

Definition at line 40 of file upgradeLogging.php.

References action, as, format, global, ID, is, key, list, of, output(), page, specific, such, sync(), text, type, user, wfGetDB(), and will.

UpdateLogging::sync ( srcTable,
dstTable 
)

Copy all rows from $srcTable to $dstTable.

Parameters:
string$srcTable
string$dstTable

Definition at line 130 of file upgradeLogging.php.

Referenced by execute().


Member Data Documentation

UpdateLogging::$batchSize = 1000

Definition at line 37 of file upgradeLogging.php.

DatabaseBase UpdateLogging::$dbw

Definition at line 36 of file upgradeLogging.php.

UpdateLogging::$minTs = false

Definition at line 38 of file upgradeLogging.php.


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