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

--- Comment #2 from Daniel Werner <[email protected]> 2012-02-13 23:51:04 UTC ---
If we want to make locale as default in Version 2.0 (with compatibility mode
active not enabling it at all), I would use "nolocale" to deactivate the
behavior.

> {{ #arraysort: key | asc nolocale }}

I have thought about implementing further flags like "case-insensitive" or
"natural" for natsort()

I am just wondering about SORT_LOCALE_STRING, what exactly does it do besides
case-insensitive sorting (in some languages?). Right now I don't feel too
comfortable making this default with knowing so little (it's not that well
documented).
Also, what about natsort() for example, why is there no parameter for this key,
or is it even always enabled for natsort() ? There is a natcasesort() too so if
the key does nothing than changing case-sensitivity, 'asc case-sensitive' might
be more appropriate than 'nolocale' here.

So if nobody can answer these questions, I'd do some testing by myself first
before properly implementing such a flag system.

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

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to