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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
         Resolution|INVALID                     |LATER

--- Comment #2 from [email protected] 2012-07-06 15:25:55 UTC ---
The list could be returned in sort order from the API, and by using insertion
order in the UI that could make it possible to maintain sort order. This works
when the whole set is transfered. It could also be possible to add an
"insertion key" for the location to insert something if we are not transferring
the whole list.

Both PHP and JS maintain insertion order for members of objects, so it should
not pose a real problem to get this going. 

Actual class is IcuCollation in Collation.php. The class can be given a locale
so sorting follows the set locale. The generated sort order should be the same
as the one used on category pages, so be aware that there can be errors. One
common error is placement of Ø in Norwegian (see
http://no.wikipedia.org/wiki/Kategori:Kommuner_i_M%C3%B8re_og_Romsdal), which
often sort before O in erroneous systems. Wikipedia now sorts this correctly.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to