Manual:populatePPSortKey.php

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.30
<translate> MediaWiki version:</translate>

Details

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

This script does not take any options.

Usage

php maintenance/populatePPSortKey.php
Terminal

See also