Page MenuHomePhabricator

Category collation on lt.wikipedia
Closed, ResolvedPublic


It need to have correct alphabet sorting (at category pages, lists, etc) in Lithuanian (lt) wikipedia. Current order words, which begin with diacritics (č, š, ž...), puts to the end of list but it should be arranged alphabetically:

Lithuanian alphabet: Aa Ąą Bb Cc Čč Dd Ee Ęę Ėė Ff Gg Hh Ii Įį Yy Jj Kk Ll Mm Nn Oo Pp Rr Ss Šš Tt Uu Ųų Ūū Vv Zz Žž

Event Timeline

Hugo.arg raised the priority of this task from to Medium.
Hugo.arg updated the task description. (Show Details)
Hugo.arg added a subscriber: Hugo.arg.
hashar added a subscriber: Reedy.

We would need to set $wgCategoryCollation and then run updateCollation.php as mentioned by @Reedy on T47525#518433

Lithuanian is apparently supported by MediaWiki$222 includes/Collation.php so we will want:

ltwiki       => 'uca-lt'
ltwikibooks  => 'uca-lt'
ltwikiquote  => 'uca-lt'
ltwikisource => 'uca-lt'
ltwiktionary => 'uca-lt'

Samogitian is apparently not supported. Maybe we can sort them by uca-default or identity. I would recommend splitting that to a separate task (i.e. create another task in Phabricator just for Samogitian).

Dereckson renamed this task from Alphabet sorting at lt.wikipedia & bat-smg.wikipedia to Category collation on lt.wikipedia.Jan 25 2016, 10:20 PM
Dereckson claimed this task.
Dereckson updated the task description. (Show Details)
Dereckson set Security to None.

This task description has been edited to handle the lt.wikipedia request.

A new task has been created at T124718 for bat-smg.wikipedia.

@Hugo.arg Could you discuss the change on your local wiki? We require a local project consensus to request configuration changes.

By the way @hashar I see you include other projects. Do you think we should plan a whole migration for every wiki with a custom collation available instead of considering this a change to be requested by every communtiy?

Change 266427 had a related patch set uploaded (by Dereckson):
Set category collation to uca-lt on lt.wikipedia

Change 266427 merged by jenkins-bot:
Set category collation to uca-lt on lt.wikipedia

Dereckson moved this task from To deploy to Done on the Wikimedia-Site-requests board.

Deployed during 2016-01-26 morning SWAT.

This change has required to run a maintenance script.

Maintenance script

$ mwscript updateCollation.php --wiki=ltwiki --previous-collation=uppercase

503623 rows has been processed.