Manual:populatePPSortKey.php
Appearance
This feature was removed completely in version 1.43. |
MediaWiki versions: | 1.30 – 1.43 |
MediaWiki file: populatePPSortKey.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | PopulatePPSortKey |
Details
[edit]populatePPSortKey.php is a maintenance script that populates the pp_sortkey
fields in the page_props table.
pp_sortkey can be used for efficient queries and sorted by the property value. It processes 100 items in every batch. This script runs by default when you run update.php .
Options
[edit]This script does not take any options.
Usage
[edit]php maintenance/populatePPSortKey.php
Terminal
$ php maintenance/populatePPSortKey.php Populating page_props.pp_sortkey... Populating page_props.pp_sortkey complete. Updated a total of 24 rows