Page MenuHomePhabricator

Set $wgCategoryCollation to 'uca-bs-u-kn' on Bosnian Wiktionary and rebuild category sort keys
Closed, ResolvedPublic

Description

Set $wgCategoryCollation to 'uca-bs-u-kn' on Bosnian Wiktionary and rebuild the sort keys.

The community is pretty small, so here's the relevant discussion.

Event Timeline

Kizule added a subscriber: Kizule.

I'm supporting this, so I will make patch and schedule for deployment tomorrow.

Urbanecm triaged this task as Medium priority.Jul 19 2020, 6:40 PM

schedule for deployment tomorrow.

The maintenance script can take a while to run; it's a while since I ran it, so cant' remember how quick it processes. As of writing, there's 552878 rows in the categorylinks` table

schedule for deployment tomorrow.

The maintenance script can take a while to run; it's a while since I ran it, so cant' remember how quick it processes. As of writing, there's 552878 rows in the categorylinks` table

@Reedy Umm, it is much. Can I make patch now and you deploy it when you think that it is ok?

Change 614039 had a related patch set uploaded (by Zoranzoki21; owner: Zoranzoki21):
[operations/mediawiki-config@master] Set $wgCategoryCollation to 'uca-bs' on Bosnian Wiktionary

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

Yeah, I think that makes more sense. I can try and find a window this week to deploy it for you and run the script.

Depending on who run the BACON window it might be ok, but it's a more complex change, there's potentially people who might not feel comfortalbe doing so

Change 614591 had a related patch set uploaded (by Gerrit Patch Uploader; owner: Zoranzoki21):
[operations/mediawiki-config@master] Set $wgCategoryCollation to 'uca-bs' on Bosnian Wiktionary

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

Change 614039 abandoned by Zoranzoki21:
[operations/mediawiki-config@master] Set $wgCategoryCollation to 'uca-bs' on Bosnian Wiktionary

Reason:
Made new

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

Yeah, I think that makes more sense. I can try and find a window this week to deploy it for you and run the script.

Depending on who run the BACON window it might be ok, but it's a more complex change, there's potentially people who might not feel comfortalbe doing so

Okay, thanks @Reedy. Patch is here.

Change 614591 had a related patch set uploaded (by Urbanecm; owner: Zoranzoki21):
[operations/mediawiki-config@master] Set $wgCategoryCollation to 'uca-bs' on Bosnian Wiktionary

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

@ZoranzokI21 @Reedy I've scheduled this for tomorrow EU B&C window. I have a couple of patches scheduled for that already.

I'd like to note that uca-bs-u-kn would allow for numeric sorting of entries, which uca-bs does not seem to support. But if uca-bs is the preferred method then the patch looks good to me. And yeah, the updateCollation script is terribly slow last time I witnessed a run, so it might take a while to finish for this wiki considering the number of links @Reedy mentioned above. Thanks.

Edit: See also T192252: Change default collation for WMF projects from uppercase to uca-default-u-kn.

Since bswiki is also set to uca-bs-u-kn, it would make sense to set it here as well. I've updated the task accordingly.

Srdjan renamed this task from Set $wgCategoryCollation to 'uca-bs' on Bosnian Wiktionary and rebuild category sort keys to Set $wgCategoryCollation to 'uca-bs-u-kn' on Bosnian Wiktionary and rebuild category sort keys.Jul 19 2020, 8:28 PM
Srdjan updated the task description. (Show Details)

Thanks @MarcoAurelio and @Srdjan_m!

@Urbanecm Can you update patch instead of me, as I have problems with speed of my old laptop which I currently use, as my new laptop is still in service already 3 weeks?

Change 614591 merged by jenkins-bot:
[operations/mediawiki-config@master] Set $wgCategoryCollation to uca-bs-u-kn on Bosnian Wiktionary

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

Mentioned in SAL (#wikimedia-operations) [2020-07-20T11:17:39Z] <urbanecm@deploy1001> Synchronized wmf-config/InitialiseSettings.php: 0c784784d75c2bbfb570495a6a097d4c44cbe6b3: Set $wgCategoryCollation to uca-bs-u-kn on Bosnian Wiktionary (T258346) (duration: 00m 58s)

Mentioned in SAL (#wikimedia-operations) [2020-07-20T11:18:47Z] <Urbanecm> Run mwscript updateCollation.php --wiki=bswiktionary --previous-collation=uppercase in a tmux session at mwmaint1002 (T258346)