Date: prev next · Thread: first prev next last
2021 Archives by date, by thread · List index

It's been a while since languages with right-to-left script like
Persian and Arabic faced a problem in TDF wiki, in which table of
contents (TOC) was not shown correctly. TOC was left aligned, which
was wrong, and the padding was also wrong.
I have tested different solutions, and at last, using the class
"mw-content-rtl", everything is now fine.
So, one should use {{fa}} and {{fa-end}} templates at the beginning
and the end of Persian article, and for Arabic, one should use {{ar}}
and {{ar-end}} which are essentially the same templates. This can be
also used for other RTL languages.
If some parts need to be written from left-to-right, one should put
them in "mw-content-ltr" styled div tags.


To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
Privacy Policy:


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.