Page MenuHomePhabricator

WE-Framework (WE-F) does not work on Vector 2022
Open, Needs TriagePublicBUG REPORT

Description

I use WE-Framework on Vector 2022.

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; Vector 2022). 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

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.

Niepodkoloryzowany renamed this task from WE-F framework no longer works on certain wiki layouts to WE-Framework (WE-F) does not work on Vector 2022.Apr 8 2026, 12:16 PM
Niepodkoloryzowany updated the task description. (Show Details)

There was a workaround, but it broke the edit mode: after clicking "Edit" in VisualEditor, the page would still not get editable. See the console. Hence, reverted.
(Discussed on ruwiki as well.)