Page MenuHomePhabricator

Notify test wiki contributors when their language becomes available as an interface language
Open, In Progress, Needs TriagePublicFeature

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.Tue, Nov 11, 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).