Page MenuHomePhabricator

bidi-isolate anonymous and temporary users' signatures by default
Open, MediumPublicBUG REPORT

Description

Anonymous and temporary users' signatures are formatted using the signature-anon and signature-temp messages. They are marked as "ignored", which means that they are not translated on translatewiki, although they can be locally customized on the wikis. And indeed, signature-anon was customized on the Hebrew Wikipedia: IP addresses that appear between RTL text and dates may appear in the wrong order, so an interface admin added the RLM control character.

This solves the problem, but only for the Hebrew Wikipedia, and not in the most robust manner possible. It would be better to do it for all the wikis, and with something more readable than a control character. The {{BIDI}} magic word can be used for that, and it should be done in the code, so that local wikis wouldn't have to customize it.

It's useful for temporary accounts, too.

(This is not necessary for logged-in users because they can change their usernames or signatures if they cause problems on talk pages, but anonymous and temporary users can't.)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 998944 had a related patch set uploaded (by Amire80; author: Amire80):

[mediawiki/core@master] Add {{BIDI}} to signature-anon and signature-temp

https://gerrit.wikimedia.org/r/998944

Change 999059 had a related patch set uploaded (by Amire80; author: Amire80):

[mediawiki/extensions/ProofreadPage@master] Add support for {{BIDI}} in signatures in tests

https://gerrit.wikimedia.org/r/999059

Change 999065 had a related patch set uploaded (by Amire80; author: Amire80):

[mediawiki/extensions/Echo@master] Add support for {{BIDI}} in signatures in tests

https://gerrit.wikimedia.org/r/999065

Pginer-WMF triaged this task as Medium priority.Mar 7 2024, 1:06 PM

@Amire80 Who are expected to review this? This task has been sitting many months in review.