Steps to replicate the issue (include links if applicable):
- Goto https://de.wiktionary.org/wiki/Spezial:Einstellungen#mw-prefsection-gadgets
- Select the gadget ''CheckPage''
- Select the skin vector (2022)
- Goto https://de.wiktionary.org/wiki/strange
What happens?:
- The menu entry ''Check'' has a strange look
What should have happened instead?:
- The menu entry ''Check'' should look like the other menu entries
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
The gadget code is here: https://de.wiktionary.org/wiki/Benutzer:Formatierer/checkpage.js
The relevant code is:
if (document.getElementById("ca-view")) {
var cp = mw.util.addPortletLink("p-views", null, "Check", "ca-checkpage",
"checkpage() für diese Seite aufrufen",null,"#ca-view");
$(cp).click(_public.analyzeThisPage);
} else {Developer notes
We need to make sure gadget added links get the vector-tab-noicon class.
QA steps
- Visit https://en.wikipedia.beta.wmflabs.org/wiki/Dog
- Open chrome developers console and execute the following:
mw.util.addPortletLink("p-views", null, "Check", "ca-checkpage",
"checkpage() für diese Seite aufrufen",null,"#ca-view");- Ensure a new tab labeled "Check" appears in the right side of the article toolbar and has the same padding/margin as the other tabs
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T320691#8343869 |
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T320691#8377969 |





