Topic on MediaWiki talk:Sp-contributions-footer-anon

Kaganer (talkcontribs)
Quiddity (WMF) (talkcontribs)

The latest version doesn't work properly if I have my language set to Canadian English or British English - it just links everything to "$1" instead of the IP.

The block of links doesn't appear at all on the Special:Contributions/IP pages, if I set my language to French or German (or I would assume, any of the other languages that aren't translated at Template:Sp-contributions-footer-anon).

Ping @Shirayuki and Kaganer, in the hopes that you can fix these problems (or revert back to the old stable version). Thanks!

Shirayuki (talkcontribs)
Quiddity (WMF) (talkcontribs)

Oh, sorry, I didn't emphasize/clarify the problem properly.

What I meant was, the language fallback system doesn't seem to function at all, with this new setup.

I.e. If I have my language set to anything outside of the manually created language versions (18 of them, currently), then the template is completely missing.

Test it at Special:Contributions/129.45.116.244 by setting your interface language to any other language, e.g. Cree or Brazilian Portuguese, or the other ~270 languages.

Shirayuki (talkcontribs)
Quiddity (WMF) (talkcontribs)

Hmm, I had thought that it previously worked (I.e. that language-fallback, meant any non-existent translations would be replaced with the English version, or fallback-appropriate), but now I understand that I'm wrong about that.

I've checked a few random user-contributions pages on other wikis, with my interface language set to a non-local-default, and I see the same problem exists. E.g. https://fr.wikipedia.org/wiki/Sp%C3%A9cial:Contributions/80.215.156.139

Therefore, this is a much bigger (and older) problem, and belongs in phabricator... I discussed a related problem a few years ago, which was split out into Phab:T67446 - I'll overhaul the description of that, to include this aspect.

Shirayuki (talkcontribs)
Quiddity (WMF) (talkcontribs)

Oh! Interesting! (Is that documented anywhere? I don't recall reading about the ".../default" pages before. Despite years of using the qqx trick, that page-type's existence is new to me (or I'd forgotten it). I can't see it mentioned in Localisation or Help:System message.)

Does this mean we just need to do something simple, to make language-fallback work as expected (at least as a temporary short-term fix)? Perhaps just copy the current version of MediaWiki:Sp-contributions-footer-anon into MediaWiki:Sp-contributions-footer-anon/default ?

Then for the slightly more medium-term, (and T67446), do we just want to migrate these strings into Extension:WikimediaMessages so that they can be properly translated at translatewiki?

Shirayuki (talkcontribs)

"/default" is invalid language code and does not exist, so it returns the default value.

Quiddity (WMF) (talkcontribs)
Reply to "Localization"