Page MenuHomePhabricator

Build opt-in link for users with legacy Vector to easily switch to Vector 2022
Open, LowPublic

Description

Back in 2020, it was important to provide logged-in users an easy way to go back to legacy Vector (T243281). It's time to revisit that functionality.

User Story

As a logged-in user, I want an easy way to easily switch back and forth between legacy and 2022.

Brought up in this conversation at Village Pump (proposals) on English Wikipedia: https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)#Easy_switching_skins

Event Timeline

From that thread: specifically adding the request that

  1. "switch to" / "switch from" buttons be in the same part of the skin during a transition period,
  2. these toggle the preference with a single click, without forcing navigation away from the page. (rather than sending to a prefs page, making the user find the pref in question, change it, save, and find their way back to what they were reading)

To the first point: on fr:wp there's a clear link to change away from the new skin, but nothing comparable in vector-legacy to change back to it.
To the second: on fr:wp it's currently four clicks and back-nav even if one doesn't get confused.

I'd forgotten about this -- T327466 was a dup of this, now closed.

See also T327465 - to make it seamless to switch back and forth, each should work in the same way, and neither should make the reader browse away from the page being read.

?setskin=vector-2022 or something similar may do the trick. The functionality needs to be tested under multiple circumstances in which the link is visible, such as following a #Sectionlink or viewing a diff page.

Sj renamed this task from Build opt-in link for logged-in users with legacy Vector to Build opt-in link for users with legacy Vector to easily switch to Vector 2022.Jan 30 2023, 5:26 PM