Page MenuHomePhabricator

Vector 2022 should support duplication of languages in header and sidebar
Closed, ResolvedPublic3 Estimated Story Points

Description

Background

To support rolling out Vector 2022 on Russian Wikipedia it should be possible to configure Vector 2022 to show the language button AND languages in the main menu.

User story

As a Russian Wikipedian using Vector 2022 I want access to the language links in the left hand menu consistent with the experience in legacy Vector.

Requirements

  • A new configuration option VectorLanguageInMainMenu is provided. By default it is false.
  • When VectorLanguageInMainMenu is enabled, languages will be printed in the main menu
  • The new config option VectorLanguageInMainMenu has no impact on the behaviour of VectorLanguageInHeader

BDD

  • For QA engineer to fill out

Test Steps

For testing it should be sufficient to confirm the new config option has not impacted master (using Pixel) and checking the new configuration option works (with patchdemo)

  • For QA engineer to fill out

Design

  • Add mockups and design requirements

Acceptance criteria

  • Add acceptance criteria

Communication criteria - does this need an announcement or discussion?

  • Add communication criteria

Rollback plan

  • What is the rollback plan in production for this task if something goes wrong?

This task was created by Version 1.2.0 of the Web team task template using phabulous

Event Timeline

Change #1214559 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/Vector@master] Support duplication of languages in header and sidebar

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

Jdlrobson-WMF set the point value for this task to 3.
Jdlrobson-WMF updated the task description. (Show Details)
Jdlrobson-WMF updated the task description. (Show Details)

Change #1214559 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Support duplication of languages in header and main menu

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

Change #1251157 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/Vector@wmf/1.46.0-wmf.19] Support duplication of languages in header and main menu

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

Change #1251158 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[operations/mediawiki-config@master] Enable languages in main menu on Russian Wikipedia

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

Change #1251175 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/Vector@master] When no languages present output empty portlet

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

Change #1251176 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/Vector@master] Don't output language HTML when no languages present

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

Change #1251175 abandoned by Jdlrobson:

[mediawiki/skins/Vector@master] When no languages present output empty portlet

Reason:

See https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/1251176?usp=search

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

Change #1251176 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Don't output language HTML when no languages present

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

Change #1253604 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/Vector@wmf/1.46.0-wmf.19] Don't output language HTML when no languages present

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

Change #1251157 merged by jenkins-bot:

[mediawiki/skins/Vector@wmf/1.46.0-wmf.19] Support duplication of languages in header and main menu

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

Change #1253604 merged by jenkins-bot:

[mediawiki/skins/Vector@wmf/1.46.0-wmf.19] Don't output language HTML when no languages present

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

Mentioned in SAL (#wikimedia-operations) [2026-03-16T23:49:59Z] <jdlrobson@deploy2002> Started scap sync-world: Backport for [[gerrit:1253604|Don't output language HTML when no languages present (T419730)]], [[gerrit:1251157|Support duplication of languages in header and main menu (T419730)]]

Mentioned in SAL (#wikimedia-operations) [2026-03-16T23:51:47Z] <jdlrobson@deploy2002> jdlrobson: Backport for [[gerrit:1253604|Don't output language HTML when no languages present (T419730)]], [[gerrit:1251157|Support duplication of languages in header and main menu (T419730)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-03-16T23:56:43Z] <jdlrobson@deploy2002> Finished scap sync-world: Backport for [[gerrit:1253604|Don't output language HTML when no languages present (T419730)]], [[gerrit:1251157|Support duplication of languages in header and main menu (T419730)]] (duration: 06m 44s)

Change #1251158 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable languages in main menu on Russian Wikipedia

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

Mentioned in SAL (#wikimedia-operations) [2026-03-17T00:00:44Z] <jdlrobson@deploy2002> Started scap sync-world: Backport for [[gerrit:1251158|Enable languages in main menu on Russian Wikipedia (T419730)]]

Mentioned in SAL (#wikimedia-operations) [2026-03-17T00:02:39Z] <jdlrobson@deploy2002> jdlrobson: Backport for [[gerrit:1251158|Enable languages in main menu on Russian Wikipedia (T419730)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-03-17T00:07:41Z] <jdlrobson@deploy2002> Finished scap sync-world: Backport for [[gerrit:1251158|Enable languages in main menu on Russian Wikipedia (T419730)]] (duration: 06m 57s)

We are good to deploy this now. Thanks all for the quick turnaround.