Page MenuHomePhabricator

VisualEditor: Non-contiguous rendering of references in LTR text in RTL mode
Closed, ResolvedPublic


  • Create an English article with a <ref> tag at the end of a paragraph
  • Set $wgLanguageCode = 'en-rtl';
  • View the article. You'll see something like ]My text[1 (this rendering seems wrong)
  • Edit the article in VE. The non-contiguous reference causes problems:
    • The phantom is rendered wrongly so it's not visible
    • When you select the reference, the selection looks really strange

Should we wrap things in a <bidi> tag or whatever to ensure better rendering?

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:16 AM
bzimport set Reference to bz48185.

This is a CSS fix in the Cite extension.

As Krinkle suggested, I'm fixing a small detail again (position 'top') but updating the Cite extension should fix this problem. I'll link the new correction to this bug and submit the fix shortly.

Related URL: (Gerrit Change I319285d23a4f0a0522cc793f1a6661cda31a1ebf)

And it was Roan who suggested, and Krinkle who participating in the attempt of helping me understand.. THANKS for that!