Hi. When changing page language to rtl on ltr wiki, the css directions are inverted: you need write left for right and right for left.
For example, see "right" in testwiki:Template:IKhitron/ts.css, and the result in testwiki:Template:IKhitron/ts. Thank you.
Description
Event Timeline
When changing page language to rtl on ltr wiki
How to do that? Complete steps to reproduce welcome.
That test page mentions templatestyles. Is this about TemplateStyles ?
Sure. I just thought there is an only way for not developers. I did it using Special:PageLanguage.
That test page mentions templatestyles. Is this about TemplateStyles ?
No it doesn't. It just helped me to see the error.
It does not matter if there is only one way if you do not describe that one way and everybody has to guess what is the one way... :)
This is not a bug but a feature. See:
https://www.mediawiki.org/wiki/ResourceLoader/Developing_with_ResourceLoader#Annotations
Flipping is usually wanted when swapping between RTL/LTR and noflip gives ability to override this default.
Example where this is useful default:
- Infoboxes are usually float: left on RTL content, so it make sense to flip .infobox {float:right; } to .infobox {float:left; } in RTL content
- License template in commons have logo flipped between RTL and LTR languages