MediaWiki
REL1_24
|
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, $dbw) | |
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 43 of file updateCollation.php.
References Maintenance\addOption(), are, global, in, is, it, of, page, table, title, up, and will.
Reimplemented from Maintenance.
Definition at line 70 of file updateCollation.php.
References $count, $options, $res, $title, $type, 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, |
$ | dbw | ||
) |
Return an SQL expression selecting rows which sort above the given row, assuming an ordering of cl_to, cl_type, cl_from.
stdClass | $row | |
DatabaseBase | $dbw |
Definition at line 226 of file updateCollation.php.
Referenced by execute().
Definition at line 256 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.