Page MenuHomePhabricator

Remove the "switch to old look" button (aka MediaWiki:Vector-opt-out)
Closed, ResolvedPublic2 Estimated Story Points

Description

Background

Vector 2022 has been the default skin on Wikimedia wikis for over 2 years for all projects except Russian. The time has come to remove the "opt out" button. Of course, people can still opt out via preferences, but anyone wishing to opt out has had more than enough time to do so. Some projects are already hiding this via site CSS.

For Russian Wikipedia, we will use a gadget to manage the migration when that happens.

This is becoming pressing as we roll out IP masking as this feature was not built with that in mind (T398703: Temporary Accounts see option to "Switch to old look" which doesn't do anything)

User story

As a user who has only ever used Vector 2022 I don't want to be actively encouraged to use a lesser supported skin.

Requirements

  • We communicate the change to communities
  • The switch to old look button and associated code is removed.
  • Messages are removed

BDD

Feature: Remove “Switch to old look” link from Vector 2022

Scenario: Vector 2022 no longer displays the opt-out link
  Given I open English or Russian Wikipedia using Vector 2022
  When the page loads
  Then the “Switch to old look” link is not visible in the footer, sidebar, or menus
  And the page layout remains unchanged

Test Steps

Test Case 1: Verify link removal on enwiki and ruwiki

  1. Open English Wikipedia and Russian Wikipedia using Vector 2022.
  2. Inspect the footer, sidebar, and menus on both wikis.
  3. AC1: The “Switch to old look” link is not visible anywhere on either site.
  4. AC2: The message key MediaWiki:Vector-opt-out is no longer displayed or active.
  5. AC3: Page layout and footer structure remain unchanged on both wikis.

QA Results - Prod

ACStatusDetails
1T361393#11283813
2T361393#11283813
3T361393#11283813

Design

Before:
{F65961534}
After:
{F65961538}

Acceptance criteria

  • Add acceptance criteria

Communication criteria - does this need an announcement or discussion?

  • Before the change we'll communicate to communities that this is happening - please give @EBlackorby-WMF a week of lead time before the change goes live

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

Details

Related Changes in Gerrit:

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
Jdlrobson subscribed.

Possible duplicate. I seem to recall a similar ticket.

ovasileva moved this task from Incoming to Groomed on the Web-Team-Backlog-Archived board.

Please implement this. It's not needed. It looks like an invitation, use the old look, don't use the new look. Why this link is still there?

Jdlrobson raised the priority of this task from Low to Medium.Oct 11 2024, 4:39 PM

I'll follow up with the team in our next sync!

The reason this is still here is there are still some wikis using the old skin. I think we can revisit this once Vector 2022 is default everywhere.

Why this link has to be in the main menu with bold face? Isn't it enough in the Preferences? It's very inappropriate because of the message it carries and also a dumb UI element. Present everywhere because of some exceptions. Why? Do you consider you comment an explanation?

@Bean49: You may be surprised that not everyone thinks of their Preferences first and instead may get frustrated that stuff looks different without an in-your-face message how to revert. :)

Jdlrobson-WMF subscribed.

Per quarterly grooming we expect Vector 2022 everywhere in Q4 so could evaluate whether this can be worked on.

Jdlrobson-WMF changed the task status from Open to In Progress.Apr 4 2025, 10:09 PM

A couple of follow-up questions for the prior discussion:

  1. Was the button intended to be used only for a limited period (such as a few months) after the release?
  2. If so, for wikis where the new skin has been enabled for over a year, is it acceptable to the MediaWiki team if a wiki hides this menu item? Also, do you expect the CSS class names used here to be reused in the future?

Thanks in advance!

Jon is on sabbatical so tagging in @ovasileva for ^

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

[mediawiki/skins/Vector@master] Remove switch to old look link

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

Jdlrobson-WMF set the point value for this task to 2.
Jdlrobson-WMF raised the priority of this task from Medium to High.Oct 7 2025, 5:30 PM

Impacts the temporary accounts roll out.

SToyofuku-WMF lowered the priority of this task from High to Medium.Oct 8 2025, 2:20 PM

Boldly and controversially lowering the priority of this because the whole sprint is currently red 🙃

And yet it gets to advance to the next column first 🤔 curious

Change #1184910 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Remove "Switch to old look" link

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

Assigning things to you as they're in the QA column (lmk if anything feels untestable!)

Edtadros subscribed.

Test Result - Prod

Status: ✅ PASS
Environment: enwiki, ruwiki
OS: macOS Tahoe 26.x
Browser: Chrome Canary (latest as of test date)
Device: MS
Emulated Device: NA

Test Case 1: Verify link removal on enwiki and ruwiki

  1. Open English Wikipedia and Russian Wikipedia using Vector 2022.
  2. Inspect the footer, sidebar, and menus on both wikis.
  3. AC1: The “Switch to old look” link is not visible anywhere on either site.
  4. AC2: The message key MediaWiki:Vector-opt-out is no longer displayed or active.
  5. AC3: Page layout and footer structure remain unchanged on both wikis.

enwiki

screenshot 273.png (1×1 px, 416 KB)
screenshot 272.png (1×1 px, 798 KB)

ruwiki

screenshot 274.png (1×1 px, 587 KB)
screenshot 275.png (1×1 px, 493 KB)
HFan-WMF claimed this task.
HFan-WMF subscribed.

Verified in both prod and beta!