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

--- Comment #11 from Bartosz Dziewoński <[email protected]> ---
(In reply to comment #9)
> 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').

I implemented this in the patch above (which depends on the previous patch,
https://gerrit.wikimedia.org/r/89488).


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

I did not implement this, hopefully it will never be needed, because it sounds
bad. :) But if we ever need it, it won't be hard to migrate.

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