Page MenuHomePhabricator

Notify test wiki contributors when their language becomes available as an interface language
Closed, ResolvedPublicFeature

Description

Feature summary (what you would like to be able to do and where):

  • When a user in the Wikimedia Incubator has set their test wiki in their preferences, but the language is not available as an interface language, they should get a notification when the language does become available as an interface language.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

  • The user has set their test wiki, but the language hasn't yet been exported from translatewiki.net because the language hasn't met the export threshold.

Benefits (why should this be implemented?):

  • Let users actually use the language they contribute as an interface language.

Event Timeline

Change #1202206 had a related patch set uploaded (by Jon Harald Søby; author: Jon Harald Søby):

[mediawiki/extensions/WikimediaIncubator@master] Add messages for new gadget to switch interface language

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

Test wiki created on Patch demo by Jon Harald Søby using patch(es) linked to this task:
https://c117e995fa.catalyst.wmcloud.org/w/

Change #1202206 merged by jenkins-bot:

[mediawiki/extensions/WikimediaIncubator@master] Add messages for new gadget to switch interface language

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

jhsoby changed the task status from Open to In Progress.Nov 11 2025, 4:29 PM
jhsoby claimed this task.
jhsoby added a subscriber: Nikki.

On the suggestion of @Nikki, I went with the approach of creating a gadget (planned to be default on for everyone). It uses three MediaWiki messages, which were just merged, so the gadget can be deployed after next week's train arrives. Gadget code: JavaScript, Vue. The banner will only be shown if a user has set a test wiki language in their preferences, and that language is available as an interface language, and the user uses a different interface language. If the user clicks the "close" button in the banner, the gadget will disable itself (can be re-enabled again in preferences).

Hi @jhsoby! I had to disable it manually, as pressing "Close" didn't achieve that, and the window kept popping up every time I reloaded the page

@Mdktb: Ah, thanks for letting me know! It was a stupid mistake, should be fixed now with this edit. I had used null, which means "reset to the default setting", but since the gadget was on by default, it would effectively switch it on and not off. You might need to do a hard refresh (Ctrl+F5) to get the new version; please test and let me know if it works for you now.

Great, thanks for checking! Closing this then.

Test wiki on Patch demo by Jon Harald Søby using patch(es) linked to this task was deleted:

https://c117e995fa.catalyst.wmcloud.org/w/