Page MenuHomePhabricator

The "Emoji" tag should be localizable
Closed, ResolvedPublic

Description

All wikis have the "Emoji" tag, which marks edits if an emoji was added to the page.

The problem is that this tag is currently not localizable: I.e, it is always shown as "Emoji", regardless of the user interface language.

It is possible to define the tag's name using [[MediaWiki:Tag-emoji]]. However, it should be done for each project manually.

A better way to localize this tag name is adding it to [[Special:AllMessages]] and making it translatable on Translatewiki.net. In this way, the tag name will be displayed in accordance with the interface language, instead of always being displayed in English. This is the same as [[MediaWiki:Tag-visualeditor]], [[MediaWiki:Tag-mobile_edit]], etc..

Another message that should be localizable is [[MediaWiki:Tag-emoji-description]]. This is the description of the emoji tag, as shown on [[Special:Tags]]. Currently, this tag contains no description at all. I suggest to add a description for this tag, and to make this description localizable.

Thanks in advance.

Event Timeline

matmarex subscribed.

You would just need to define the messages you want in the WikimediaMessages extension, and they should be used automatically.

You would just need to define the messages you want in the WikimediaMessages extension, and they should be used automatically.

Sorry, but I'm not experienced with technical stuff like this... What do you mean by defining the messages in the WikimediaMessages extension?

Sorry for late response, I was busy with some other things and forgot about this. I'm just going to submit a patch for this one (and ask you to review the actual messages in it :) ). You can probably follow this example later for translateable tags related to any other global filters. I think @MarcoAurelio has done things like this a couple times and probably could help.

Change 302231 had a related patch set uploaded (by Bartosz Dziewoński):
Add messages for the "emoji" global abuse filter tag

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

MarcoAurelio added a subscriber: Glaisher.

Thank you @matmarex for your kind words. I think this is the first time I see a request to globally localise a global AF tag. I'll have a look, but I also invite @Glaisher to the review too :) Regards

PS: gerritbot no longer adding the Patch-For-Review tag?

Thank you so much for the patch!

Change 302231 merged by jenkins-bot:
Add messages for the "emoji" global abuse filter tag

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