Page MenuHomePhabricator

Empty state for language button pt 1
Closed, ResolvedPublic2 Estimated Story Points

Description

Background

While the eventual state for the empty state will be as described in T275147: Empty state for language button and menu, this tasks attempts to provide a short term solution that can be put in place prior to the deployment of the new version of the ULS

Acceptance criteria

  • When an article is not available in any other languages, do not display the language button

Sign off steps

  • When ULS is rewritten we will revert this change. Make sure that we have made a note of this intention/goal inside the Vector codebase.

QA Results - Beta

ACStatusDetails
1T276950#6973180

Event Timeline

ovasileva added a subscriber: alexhollender_WMF.

Change 673249 had a related patch set uploaded (by Jdrewniak; owner: Jdrewniak):
[mediawiki/skins/Vector@master] Disable languages-in-header when no additional languages

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

Jdrewniak added a subscriber: Jdrewniak.

Change 673249 merged by jenkins-bot:
[mediawiki/skins/Vector@master] Hide languages-in-header button when no additional languages

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

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Big Sur
Browser: Chrome
Device: MBP
Emulated Device: NA

Test Artifact(s):

QA Steps

AC1: When an article is not available in any other languages, do not display the language button

Screen Recording 2021-04-05 at 11.24.41 AM.mov.gif (920×1 px, 770 KB)

ovasileva claimed this task.

Resolving this! We will QA once languages are deployed on production