Manual talk:$wgCategoryCollation

Latest comment: 4 years ago by Matma Rex in topic Negative Numbers

When will this function support Chinese?

edit

--Zoglun (talk) 23:13, 11 November 2013 (UTC)Reply

@Zoglun: Hopefully soon. See bug 44667. Matma Rex (talk) 18:57, 15 November 2013 (UTC)Reply

cy

edit

uca-<cy> needs to be run; can someone do that please? Do I need to supply the Welsh alphabet? Llywelyn2000 (talk) 22:23, 15 December 2013 (UTC)Reply

@Llywelyn2000: uca-cy is implemented and works; do you mean you want to enable it on Welsh-language Wikimedia wikis? If yes, please follow the guide at m:Requesting wiki configuration changes :) Matma Rex (talk) 15:35, 22 December 2013 (UTC)Reply

How to set the phonebook versions?

edit

neither of these options work:

$wgCategoryCollation = uca-de-AT@collation=phonebook;
$wgCategoryCollation = 'uca-de-AT@collation=phonebook';
$wgCategoryCollation = "uca-de-AT@collation=phonebook";

What is the correct way to do this? Or is de-AT not supported at all?

The second and third way should work. Make sure to run the updateCollation.php maintenance script afterwards to update the collation for existing pages (see the red "Warning" box on the manual page). Matma Rex (talk) 20:34, 23 October 2018 (UTC)Reply

Numeric collation

edit

1.31.x Numeric collation does not seem to be working. I have pages numbered 0 - 100: 0 , 1, 2, ... , 11, 12, etc. But they are not sorting in numeric order in the category. I did run updatecollation.php, but no changes. — Preceding unsigned comment added by 5.29.23.15 (talkcontribs) 23:30, 31 December 2018 (UTC)Reply

I don't think this change takes effect instantaneously. It could be that there's a job queue for processes that need to run to update MediaWiki's categories, too - see Manual:RunJobs.php. Cavila 12:38, 2 January 2019 (UTC)Reply

Negative Numbers

edit

I have some Categories that start with negative numbers, but it looks like numeric doesn't handle negative numbers? --Wordna (talk) 00:23, 6 April 2020 (UTC)Reply

Indeed, unfortunately it looks like the order would be -1, -10, 0, 1, 10, … Matma Rex (talk) 17:32, 6 April 2020 (UTC)Reply
Return to "$wgCategoryCollation" page.