MediaWiki  REL1_22
UpdateCollation Class Reference

Maintenance script that will find all rows in the categorylinks table whose collation is out-of-date. More...

Inheritance diagram for UpdateCollation:
Collaboration diagram for UpdateCollation:

List of all members.

Public Member Functions

 __construct ()
 execute ()
 getBatchCondition ($row)
 Return an SQL expression selecting rows which sort above the given row, assuming an ordering of cl_to, cl_type, cl_from.
 showSortKeySizeHistogram ()
 updateSortKeySizeHistogram ($key)

Public Attributes

 $sizeHistogram = array()
const BATCH_SIZE = 10000
const SYNC_INTERVAL = 20

Detailed Description

Maintenance script that will find all rows in the categorylinks table whose collation is out-of-date.

Definition at line 37 of file updateCollation.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 43 of file updateCollation.php.

References Maintenance\addOption(), global, in, is, it, of, on, only, page, run, so, table, that, though, title, type, up, and will.


Member Function Documentation

Return an SQL expression selecting rows which sort above the given row, assuming an ordering of cl_to, cl_type, cl_from.

Definition at line 222 of file updateCollation.php.

References array(), as, and Maintenance\getDB().

Referenced by execute().

Definition at line 252 of file updateCollation.php.

References array(), and Maintenance\output().

Referenced by execute().

Definition at line 244 of file updateCollation.php.

References $key.

Referenced by execute().


Member Data Documentation

UpdateCollation::$sizeHistogram = array()

Definition at line 41 of file updateCollation.php.

Definition at line 38 of file updateCollation.php.

Referenced by execute().

Definition at line 39 of file updateCollation.php.


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