Hi, 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.
Regards, Hossein -- To unsubscribe e-mail to: website+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/website/ Privacy Policy: https://www.documentfoundation.org/privacy