Page MenuHomePhabricator

Chinese site category pages should be able to sort pages by Hanyu Pinyin
Open, Needs TriagePublicFeature

Description

There are 2500+ Chinese characters in common use, compared to 26 characters of roman alphabets. As a result, in a category page, most indexing sets consists of only one member, losing the purpose of sorting. For an example see
https://zh.wikipedia.org/wiki/Category:數學分析

The community guideline recommends manually indexing pages by it's pinyin (spelling of characters by roman alphabets), that is, use the syntax [[微積分 | W ]], here 微 is spelled as "wei".

Mediawiki should do this automatically.

Event Timeline

See also related T46667, which unfortunately isn't really going anywhere.

I realized this feature can be implemented as a client side js gadget. Though paging will be broken.

A second thought is that, in my opinion no sorting will be better than current sorting.

Change 87273 had a related patch set uploaded (by Winston Sung; author: Liangent):

[mediawiki/core@master] Make zh@collation=pinyin and zh@collation=stroke collations usable

https://gerrit.wikimedia.org/r/87273

Shizhao changed the subtype of this task from "Task" to "Feature Request".Feb 21 2023, 2:51 AM
Winston_Sung renamed this task from Chinese site category pages should sort pages by roman alphabets to Chinese site category pages should be able to sort pages by Hanyu Pinyin.Mar 10 2023, 7:13 AM