Translated versions now called through translatable template {{Sp-contributions-footer-anon}}.
Topic on MediaWiki talk:Sp-contributions-footer-anon
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!
I have updated MediaWiki:Sp-contributions-footer-anon/en-ca, /en-gb, /de and /fr.
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.
I have added {{GetFallback}} to MediaWiki talk:Sp-contributions-footer-anon. But MediaWiki:Sp-contributions-footer-anon/pt-br, etc. should still be created.
Please ask at:
- Project:Requests - to create MediaWiki:Sp-contributions-footer-anon/* for all languages.
- Project:Current issues - to fix the MediaWiki software to avoid creating MediaWiki:Sp-contributions-footer-anon/* pages.
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.
MediaWiki:Sp-contributions-footer-anon's default value (MediaWiki:Sp-contributions-footer-anon/default) is "-", so most languages (e.g. MediaWiki:Sp-contributions-footer-anon/pt-br) have "-" and language-fallback does not work.
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?
"/default" is invalid language code and does not exist, so it returns the default value.
Thanks :)
I guess we should continue working out the details of a medium-term fix, at phab:T67446.
I'm also compiling some notes at Notes for potentially moving some mediawiki system messages into wikimediamessages.