Manual:populatePPSortKey.php
MediaWiki バージョン: | ≧ 1.30 |
MediaWiki ファイル: populatePPSortKey.php | |
---|---|
場所: | maintenance/ |
ソース コード: | master • 1.41.1 • 1.40.3 • 1.39.7 |
クラス: | PopulatePPSortKey |
詳細
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
$ php maintenance/populatePPSortKey.php Populating page_props.pp_sortkey... Populating page_props.pp_sortkey complete. Updated a total of 24 rows