Page MenuHomePhabricator

WE-F framework no longer works on certain wiki layouts
Open, Needs TriagePublicBUG REPORT

Description

I use https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:WE-Framework

Steps to replicate the issue (include links if applicable):
What happens?:
The problem is that enwiki , frwiki and wikidata have started a certain layout (being having buttons both on far left and far right). Since that layout began, WE-Framework buttons no longer appear.

What should have happened instead?:

For instance (and for time being), eswiki does still show WE Framework, and probably other wikis as well

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

The WEF gadget has also disappeared from frwikisource and probably from most wikis since it is apparently linked to a change in Vector-2022. I think the change was introduced by T328692.

A work-around is to use another skin, e.g. Timeless.

Here is the error message in the browser console when loading WE-Framework

Error: Unable to locate 'p-wef-label' ID on the page. Looks like site navigation menu is changed in a way that can't be modifid from JS
<anonymous> https://ru.wikipedia.org/w/index.php?title=User:Vlsergey/wef.js&action=raw&ctype=text/javascript:2
jQuery 3
using https://fr.wikisource.org/wiki/Les_Phoinissiennes line 10 > injectedScript:516
doPropagation https://fr.wikisource.org/w/load.php?lang=fr&modules=startup&only=scripts&raw=1&skin=vector-2022:6`

I also made a bug report at Github because it may require a change in the Javascript code, not necessarily in Vector or Mediawiki.