Manual:UpdateCollation.php/zh

细节
此脚本更新类别排序规则. 您需要在更改 后运行此脚本. 它还需要在从 1.17 之前的 MediaWiki 版本升级到 1.17 及更高版本后运行. 通常它作为 的一部分运行.

If your category collations are messed up (aka things sort incorrectly in categories), you can use the  switch to forcibly fix all the category collations.

The run time of the script depends on the number of rows in the table, and for extremely large wikis may take over 24 hours. (A run on the English Wikipedia in September 2016 took around a week: T136150.) The script can process on the order of 10,000 rows per minute (depending on your setup); you can view the estimated number of rows on your wiki before running the real script by using. Wikimedia wikis of various sizes have been painlessly switched to different collations over time (T47443), just make sure to estimate how long the script will run before you start it.



用法


试运行以检查更新


更新类别排序规则
