Hutchy68 / pivot

A MediaWiki mobile skin which "Pivots" seamlessly to any size display.
https://pivot.wikiproject.net
BSD 2-Clause "Simplified" License
37 stars 18 forks source link

Not Translatable - Right-to-left oriented languages break menus + other elements #91

Closed designnerd closed 3 years ago

designnerd commented 4 years ago

Setup

Issue

When any user logs in, visits Special:Preferences and selects Arabic (ar), Tunsi (aeb), and presumably any language that reads right-to-left (Hebrew, Persian, Farsi etc.) instead of left-to-right like English, the sidebar menus break and stack at about 1/4 of the way in from each edge.

Direct example: http://www.134.dragon-mania-legends.wiki/index.php?title=Category:Elements&uselang=fa

The theme then becomes unusable for many users, particularly tablets as the menus overlap all content, menus, preferences (screen is already narrow) and can only be hid using the web inspector and CSS or if they email us. Changing the language back is impossible in this circumstance and the site is effectively broken for these users. While we are an English wiki, we are learning that many of our users are not and are finding the site unusable with Pivot (which we love). -- Forgive me, just a girl and not a programmer so I hope this is enough info. When users email, I end up running maintenance script via ssh to clear the preference for that language (php userOptions.php language --old ar --new en). So for now we have cleared these preferences, hidden the language preference and provided a temp translator at the top to prevent the orientation from naturally changing as MW does when language orientation changes. Seems to be related to this: https://www.mediawiki.org/wiki/Manual:Skinning_Part_3#Right-to-left_(RTL)_languages

A patch for this would be oh so hugely appreciated so we can re-enable translation! Thanks! :)

designnerd commented 3 years ago

Didn't see the duplicate for this going back to 2017: https://github.com/Hutchy68/pivot/issues/15