Page MenuHomePhabricator

ToC mismatch on commons: old and new versions of vector display different ToCs due to gadgets
Closed, ResolvedPublic

Description

Background

  1. Go to https://commons.wikimedia.org/wiki/File:%22Everything_is_Going_to_be_Alright%22_artwork,_Christchurch_Art_Gallery,_Christchurch,_New_Zealand.jpg?useskin=vector as a logged in users
  2. Go to https://commons.wikimedia.org/wiki/File:%22Everything_is_Going_to_be_Alright%22_artwork,_Christchurch_Art_Gallery,_Christchurch,_New_Zealand.jpg as a logged-in users with new vector skin

Expected:
ToC should display these options on both skins:

Screen Shot 2022-04-07 at 2.35.13 PM.png (558×1 px, 661 KB)

Observed:
New version of vector skin displays different ToC
Screen Shot 2022-04-07 at 2.34.57 PM.png (959×1 px, 741 KB)

Event Timeline

ovasileva triaged this task as Medium priority.Apr 7 2022, 12:35 PM

Note: this is the current experience for logged-out users on legacy vector

Screen Shot 2022-04-07 at 2.38.38 PM.png (906×1 px, 791 KB)

Jdlrobson renamed this task from ToC mismatch on commons: old and new versions of vector display different ToCs to ToC mismatch on commons: old and new versions of vector display different ToCs due to gadgets.Apr 7 2022, 2:29 PM

And it seems like this is a default gadget?

Looks like it. A Commons admin should be able to easily work out what to do here. Note, that the file table of contents has nothing to do with the one we're working on in the sidebar. The file table of contents is something different and a completely different code path.

I suggested to Olga that we reach out to Commons Village pump and enquire about getting this script loaded on new Vector.