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

--- Comment #3 from Bawolff (Brian Wolff) <[email protected]> ---
Easiest approach would probably to in the parser: read through the table,
generate binary sortkeys, turn them into some non-binary form, put it in a data
attribute.


The collation class (or rather the third party icu library used by it) is
rather complex. I'm doubtful we could re-create it in javascript sanely. For
example, it needs to do sorting on three different levels, be able to
dynamically insert new "in-between" values, etc. We also don't even know what
rules are being used at runtime (as the php bindings don't expose that, and it
changes with version).

OTOH, I suppose it doesn't need to be exactly the same. Fixing just the really
bad mismatches in sorting behaviour might be good enough.

-- 
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