Help:Maintenance script updateEntityCollation.php

The "updateEntityCollation.php" maintenance script allows mass updates of database field "smw_sort" on the occasion that the setting of was changed. The maintenance script was introduced in .CiteRef::gh:smw:2429

Parameters
Maintenance scripts provide generic maintenance parameters, script dependent parameters and depending on the maintenance script script specific parameters which are described on this page if provided.

Example
[ Notes ]
 * The following command updates the entity collation of the "smw_sort" field.

- $smwgEntityCollation             uca-default-u-kn - $wgCategoryCollation             numeric

The setting of $smwgEntityCollation and $wgCategoryCollation are different and may result in an inconsitent sorting display for entities.

[ Update ]

- Selecting rows ... 1 to 100659 - Updating the smw_sort field ... 0% (313/100659)