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

Daniel Kinzler <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Daniel Kinzler <[email protected]> ---
Note that there is one difficulty here: format-agnostic wrappers would need to
have one class per output type. E.g. a ConvertingQuantityFormatter that applies
unit conversion and then formats the result using some other formatter would
need one implementation for each possible output type, e.g.
ConvertingQuantityWikitextFormatter, ConvertingQuantityHtmlFormatter, etc.

These could be trivially derived from an (abstract) base class that implements
the actual logic, by just adding the respective marker interfaces.

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