"Wikitravel has a speed and convenience the books' publishers can only envy." Time Europe

Tech:Hebrew and URLs not coexisting happily

From Wikitravel Shared
Jump to: navigation, search

What happens[edit]

The following innocuous-looking snippet of markup:

'''Netanya''' (<span lang="he">נְתַנְיָה</span>) [http://www.netanyatourism.org.il/] is a city in [[Israel]].

renders completely bass-ackwards:

Netanya (נְתַנְיָה) [1] is a city in Israel.

When it happens[edit]

When Hebrew or any other RTL script like Arabic (دبي) [2] is followed by a link.

What should happen[edit]

It should render correctly.

How to fix it[edit]

A workaround is to place the link in front, not after, but this is contraindicated by the MoS.

This is a Unicode bidirectionality issue. Place &lrm; (left-to-right mark, a zero-width space with strong left-to-right directionality) just after the RTL script.
  • Netanya (נְתַנְיָה‎) [3] is a city in Israel.
  • Arabic (دبي‎) [4]
--Episteme 03:06, 29 January 2007 (EST)

Variants

Actions

In other languages