https://bugzilla.wikimedia.org/show_bug.cgi?id=164

Bawolff <bawolff...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bawolff...@gmail.com

--- Comment #226 from Bawolff <bawolff...@gmail.com> 2011-08-24 22:40:39 UTC ---
(In reply to comment #224)
> I'm reopening this based on notes from bug 29788 etc.
> 
> * The fixes applied for this bug apply only for category member sorting, but
> the problem exists in many other places as mentioned in the summary, such as
> [[Special:Allpages]], [[Special:ListUsers]], etc

Related bug 24574. I suppose we would have to add a sortkey field to other
various table.

> * There doesn't appear to be any straightforward way to set the collation to a
> locale-specific one!
> 
> The only available options are "uppercase" and "uca-default" -- sorting in a
> locale-specific way (say, Swedish per bug 29788) appears to require writing
> additional code
> 
> * For some reason, site content language doesn't appear to be taken into
> account in any way; you must set $wgCategoryCollation manually.

I think that was partially out of concern for php installs without the intl
extension installed (So uca collation would not work). Since changing the
collation requires running a maintenance script, if we just checked that the
relevant class existed to determine which collation to use, and then someone
upgraded their php so intl was suddenly present, things would become screwed
up. (Or that's what I assumed the reasoning was. I could be wrong)

> 
> This seems very strange to me, and is an obvious additional burden on site
> administrators to figure out how to code up (!) and then activate a
> language-specific collation.

Perhaps making the value $wgCategoryCollation consider anything past uca to be
the locale. For example it would consider the value of "uca-foo" to use
IcuCollation( 'foo' ) as the Collation class.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to