Last modified: 2012-07-25 18:09:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20559, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18559 - "Right-hand-side" in the message "sf createtemplate infoboxformat" may be wrong in RTL wikis
"Right-hand-side" in the message "sf createtemplate infoboxformat" may be wro...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Yaron Koren
: i18n
Depends on:
Blocks: 37246 messages
  Show dependency treegraph
 
Reported: 2009-04-23 07:48 UTC by Purodha Blissenbach
Modified: 2012-07-25 18:09 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Purodha Blissenbach 2009-04-23 07:48:10 UTC
The English original of the message "sf createtemplate infoboxformat" refers to the "Right-hand-side", which is likely the "Left-hand-side" in RTL wikis. I suggest to amend it accordingly.

Else, we could open a bug suggesting to make it conditional, i.e. adding a {{#LTR:yes|no}} and/or {{#RTL:yes|no}} syntax to messages.
Comment 1 Amir E. Aharoni 2011-05-15 07:19:54 UTC
It's OK to say "right" for English. I added documentation to the message in http://translatewiki.net/wiki/MediaWiki:Sf_createtemplate_infoboxformat/qqq .
Comment 2 Purodha Blissenbach 2011-05-15 13:17:07 UTC
The message documentation was referring to "RTL wikis". We are translating to languages, not to wikis, so I amended the message docmentation to say "for RTL languages". But I believe this is wrong. The message should be different for different _wiki_languages_ (more precisely wiki directionalities that come with language) not for different uselang or user languages. When you switch the user language, the wiki directionality remains unchanged, at least in the few samples I've just investigated such as yi.wiktionary.org

Reopening.
It needs to be reassessed and reconfirmed that the message is in the user language but directionality is taken from the wiki language. Thus the message needs at least one parameter which is the wiki directionality, or you must have two different messages.
Comment 3 Purodha Blissenbach 2011-05-15 14:32:26 UTC
See also bug 28997 for a possible solution.
Comment 4 Amir E. Aharoni 2012-03-20 21:17:23 UTC
Yaron, can you please clarify whether the message will refer to a box that is always on the right, to a box whose location depends on wiki directionality or to a box whose location depends on the interface language?
Comment 5 Yaron Koren 2012-03-20 22:55:26 UTC
I don't know the answer to that - the infobox uses the CSS "align: left", so it'll appear however such a thing would appear in MediaWiki with an RTL language.
Comment 6 Yaron Koren 2012-07-25 18:09:29 UTC
While changing some other things in the helper forms, I changed the message to just be "Side infobox", which takes care of this problem.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links