Page MenuHomePhabricator

a magic word for getting the content language's direction is needed [PATCH]
Closed, DeclinedPublic

Description

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.


Version: unspecified
Severity: normal

Attached:

Details

Reference
bz30919
TitleReferenceAuthorSource BranchDest Branch
Add pollTimeout configurationrepos/releng/gitlab-cloud-runner!124jhuneidiT329196main
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 11:58 PM
bzimport set Reference to bz30919.
bzimport added a subscriber: Unknown Object (MLST).

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.

(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.]