You are not logged in.
I noticed on all Arabic wiki articles that they have an issue with the formatting from right-to-left, specifically on the TOC "Table of Content"
All the articles uses this tag to format them
<div style="text-align: right; direction:rtl;">
While this works for the content itself, the TOC is still going left-to-right
So I looked around and tested this code
<div lang="ar" dir="rtl" class="mw-content-rtl">
And that fixed all the issues I've noticed.
Now the problem is that most of the articles (if not all of them) uses the uncorrect tag.
Is there a way to bulk replace the first code with the second one? or even a better practice to be implemented?
Last edited by Mouath (2015-10-15 03:53:31)
Offline
I've used my bot to replace the first string with the second in the articles that belong to Category:العربية (not all of them were using it).
You can see the list of changes in Special:Contributions/Kynikos.bot with the summary "fix rtl style/attributes as suggested in https://bbs.archlinux.org/viewtopic.php?pid=1570366#p1570366".
Last edited by kynikos (2015-10-15 03:23:06)
Offline
That worked perfect, Thanks to you and to your bot
Offline