Diff text box for RTL languages should be RTL.
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T169408 [AutoWikiBrowser] i18n related tickets | |||
Resolved | Rjwilmsi | T157234 Autowikibrowser diff text box's direction for RTL languages should be RTL | |||
Open | BUG REPORT | None | T123118 On RTL wikis, the check box for "Doesn't contain:" overlaps with the box to enter the text into which makes it hard to tick the check box |
Event Timeline
Even better, the DIFF should be in the same direction as that on Wiki (as in, JS pages always RTL, content pages based on the content, ...)
I think this can be done by user CSS. If that's confirmed we can add to the default AWB CSS to apply for RTL wikis.
See https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/style.css Create your style.css file, after the first
background-color: white;
add a further line with
direction: rtl;
that should do what you're looking for.
Ah, thank you. This is a good pointer.
I played with it, and it looks like a better thing to do is to add it to this section:
td.diff-addedline, td.diff-deletedline, td.diff-context { direction: rtl;
Applying it to the whole table also flips the order of the columns, which is not what we need. (I suspect that core MediaWiki is to blame for this, but I'm not in the mood for digging into this...)
So yeah, if you add this line for RTL wikis it will probably be a good fix for everybody.
rev 12316 in default CSS set
direction: rtl;
on RTL wikis to align diff text correctly