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

--- Comment #9 from Tim Starling <[email protected]> ---
There could be a "ckb" collation (i.e. not uca-ckb), class name CollationCkb
which is a subclass of IcuCollation. You could have
IcuCollation::getDigitTransformTable() which is overridden by the subclass.
CollationCkb::__construct() would call parent::__construct('fa').

Doing it that way means that when ICU adds support for ckb, migration from ckb
to uca-ckb can be done without breaking the wiki.

Or if the problem is likely to be repeated with other languages, there could be
some regex-based alias feature in Collation::factory(), e.g. "alias-ckb/fa",
where the collation name would specify both the ICU locale and the MW locale.

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