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

kipod <[email protected]> changed:

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

--- Comment #11 from kipod <[email protected]> ---
this issue is somewhat frustrating, and also highlight a different issue: in
scribunto extension, the "mw.ustring" module, that supposedly provides all of
lua "string" functionality for unicode strings, omitted provide the "reverse()"
function which could be used to mitigate this bug.

fwiw, i created a "reverse" in [[he:Module:Strings]]. note that in order to use
a template inside the parameters of timeline, you will need to use the
magicward #tag:. using <timeline> directly will not expand templates, and hence
will not reverse strings, even with one uses
{{#invoke:Strings|reverse|מרמלדה}}. once you use {{#tag:timeline instead, this
utility can be used. of course, it would be better if the extension took care
of it, as i think it should.

the solution should be laughably easy: do not even try to make an intelligent
decision when a specific string needs reversing - just provide a new set of
tokens, e.g., in addition to "text", give us "rtext" which will be reversed. we
will still have to deal with stuff manually when including mixed-direction
text, such as a sentence with both hebrew/arabic words and latin-script word,
but teachin the extension to process "rtext" (or "rlegend" or "r"-anything that
accepts-text-to-be-displayed)

peace.

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