Last modified: 2012-12-21 13:19:13 UTC
Created attachment 9064 [details] added the magic word WIKICONTENTDIR and applied it to the message filepath-summary A magic word for getting the content language's direction is needed. It is useful, for example in Special:FilePath, which says "{{ns:file}}:". If you're using an RTL wiki with uselang=en, the ':' will be displayed at the wrong end of the word, so you need to set its direction explicitly. According to SPQRobin's suggestion, i added the magic word WIKICONTENTDIR and applied it to that message. It may be useful in other messages, too.
My only complaint is that this adds a lot of markup to the messages. We know that translators easily get it wrong and try to keep it in minimum.
Yeah, this seems like it would just infect a billion messages and be very error-prone. Further, it still won't be correct if that namespace name is actually in Latin characters -- which may easily happen with custom namespaces.
ergh... setting to lowest to reflect Niklas and Brion's comments, but might be WONTFIX
The magic word itself can be useful, but not like this.
I agree with Niklas - there's no need for so much markup in the message. I reopened the problem with Special:FilePath as Bug 30977. Since i don't currently know any other messages where this magic word would be useful, i don't mind having this bug closed as LATER.
Marking LATER.
(In reply to comment #5) > Since i don't currently know any other messages where this magic word > would be useful, i don't mind having this bug closed as LATER. [Removing RESOLVED LATER as discussed in http://lists.wikimedia.org/pipermail/wikitech-l/2012-November/064240.html and setting WONTFIX, as a usecase is missing.]