Hello,
Please compare http://commons.wikimedia.org/w/index.php?title=Special:Userlogin&uselang... to http://he.wikipedia.org/w/index.php?title=Special:Userlogin&uselang=he&a...
On Commons, the messages appear RTL text direction which is correct, but on the left, which I imagine is as unnatural as right-aligning for English.
Evidently there is some sitewide setting for he.wp that tells it to display messages right aligned. Commons default language is English which is left aligned. I guess that using uselang=he is not enough for it to display messages right aligned?
Should we (Commons) go and insert <span align="right"> around every /he message? Would this solve it? (Would this be a *good way* to solve it?)
thanks, Brianna user:pfctdayelise
Hoi, From the Multilingual MediaWiki project we can show you this .. http://mw.visc.us/ara:Main_Page this page is there for Arabic and it does do a reasonable job of doing a LTR. We think that MLMW will be particularly useful for Commons. Thanks, Gerard
Brianna Laugher schreef:
Hello,
Please compare http://commons.wikimedia.org/w/index.php?title=Special:Userlogin&uselang... to http://he.wikipedia.org/w/index.php?title=Special:Userlogin&uselang=he&a...
On Commons, the messages appear RTL text direction which is correct, but on the left, which I imagine is as unnatural as right-aligning for English.
Evidently there is some sitewide setting for he.wp that tells it to display messages right aligned. Commons default language is English which is left aligned. I guess that using uselang=he is not enough for it to display messages right aligned?
Should we (Commons) go and insert <span align="right"> around every /he message? Would this solve it? (Would this be a *good way* to solve it?)
thanks, Brianna user:pfctdayelise
On 2/27/07, Brianna Laugher brianna.laugher@gmail.com wrote:
Hello,
Please compare http://commons.wikimedia.org/w/index.php?title=Special:Userlogin&uselang... to http://he.wikipedia.org/w/index.php?title=Special:Userlogin&uselang=he&a...
On Commons, the messages appear RTL text direction which is correct, but on the left, which I imagine is as unnatural as right-aligning for English.
Monobook appears to use the content language to decide whether to make the site as a whole right-to-left. I'm not sure if this is correct behavior. Certainly the content direction should depend on the content language, but I would think the overall page (and all interface messages) should depend on the interface language. Can anyone think of why the whole page should be the same direction as the content language and not the interface language?
Should we (Commons) go and insert <span align="right"> around every /he message? Would this solve it? (Would this be a *good way* to solve it?)
That would probably not be a good solution at all, and it would only partly work. If you want to solve it on your side, rather than waiting on software changes, ideally you should be able to do it via CSS rules, although I'm not sure whether there's anything you can key off of with a CSS rule to determine interface language at present. (You may have to use JS to get the CSS rules to work, though, which is a bad solution.)
I'm thinking we could add some more classes to the <body>: interface-langcode, content-langcode, interface-dir, content-dir. Then we could move all the RTL stuff into the main stylesheets, in fact, rather than adding it conditionally as an extra stylesheet.
On 28/02/07, Simetrical Simetrical+wikilist@gmail.com wrote:
On 2/27/07, Brianna Laugher brianna.laugher@gmail.com wrote:
Hello,
Please compare http://commons.wikimedia.org/w/index.php?title=Special:Userlogin&uselang... to http://he.wikipedia.org/w/index.php?title=Special:Userlogin&uselang=he&a...
On Commons, the messages appear RTL text direction which is correct, but on the left, which I imagine is as unnatural as right-aligning for English.
Monobook appears to use the content language to decide whether to make the site as a whole right-to-left. I'm not sure if this is correct behavior. Certainly the content direction should depend on the content language, but I would think the overall page (and all interface messages) should depend on the interface language. Can anyone think of why the whole page should be the same direction as the content language and not the interface language?
..... shall I open a bug report, then? any other dev comments about this?
thanks, Brianna
On 2/28/07, Brianna Laugher brianna.laugher@gmail.com wrote:
..... shall I open a bug report, then?
That would be a good idea.
wikitech-l@lists.wikimedia.org