Manual:populatePPSortKey.php

From Linux Web Expert

Revision as of 06:07, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<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>

詳細

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 .

オプション

このスクリプトにはオプションはありません。

使用法

php maintenance/populatePPSortKey.php
Terminal

関連項目