| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Find all rows in the categorylinks table whose collation is out-of-date (cl_collation != $wgCategoryCollation) and repopulate cl_sortkey using the page title and cl_sortkey_prefix. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| Author: | Aryeh Gregor (Simetrical) |
| File Size: | 314 lines (9 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file maintenance/Maintenance.php |
UpdateCollation:: (5 methods):
__construct()
execute()
getBatchCondition()
updateSortKeySizeHistogram()
showSortKeySizeHistogram()
Class: UpdateCollation - X-Ref
Maintenance script that will find all rows in the categorylinks table| __construct() X-Ref |
| No description |
| execute() X-Ref |
| No description |
| getBatchCondition( $row, $dbw ) X-Ref |
| Return an SQL expression selecting rows which sort above the given row, assuming an ordering of cl_to, cl_type, cl_from param: stdClass $row param: DatabaseBase $dbw return: string |
| updateSortKeySizeHistogram( $key ) X-Ref |
| No description |
| showSortKeySizeHistogram() X-Ref |
| No description |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |