MediaWiki
REL1_22
|
Maintenance script that will find all rows in the categorylinks table whose collation is out-of-date. More...
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 |
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.
Reimplemented from Maintenance.
Definition at line 70 of file updateCollation.php.
References $count, $options, $res, $title, array(), as, BATCH_SIZE, Collation\factory(), getBatchCondition(), Maintenance\getDB(), Maintenance\getOption(), global, Maintenance\hasOption(), Title\newFromRow(), Maintenance\output(), showSortKeySizeHistogram(), Collation\singleton(), updateSortKeySizeHistogram(), and wfWaitForSlaves().
UpdateCollation::getBatchCondition | ( | $ | row | ) |
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().
UpdateCollation::$sizeHistogram = array() |
Definition at line 41 of file updateCollation.php.
const UpdateCollation::BATCH_SIZE = 10000 |
Definition at line 38 of file updateCollation.php.
Referenced by execute().
const UpdateCollation::SYNC_INTERVAL = 20 |
Definition at line 39 of file updateCollation.php.