[Wikimedia-l] This weird trick will make readers of mass messages on village pumps happier

Amir E. Aharoni amir.aharoni at mail.huji.ac.il
Fri Jan 17 16:24:36 UTC 2014


Got your attention? :)

Various mass messages are occasionally sent to village pumps in many
projects - by the Foundation's community liaisons, by researchers, and
others.

Sometimes people bother to put them up for translation, which is wonderful,
but sometimes it is not practical, for example if the message is urgent.

Even if the message is in English, however, you need to do a little thing
to make sure that it will be comfortable to read it in a non-English wiki.
Put it inside the following HTML tag:
<div lang="en" dir="ltr" class="mw-content-ltr">
Your important notification.
</div>

This will ensure that the message is considered as English and
left-to-right. If you don't do this, then in right-to-left wikis it will
look like this paragraph - misaligned and with incorrectly placed
punctuation.

Of course, it's not great to have to remember to write it every time, so if
there is a way to automate in MassMessage or EdwardsBot or whatever is used
to send these messages, it would be great.

--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬


More information about the Wikimedia-l mailing list