Manual:populatePPSortKey.php

MediaWiki versions:
1.30 – 1.43

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/run.php populatePPSortKey
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

edit