Page MenuHomePhabricator

Page tools: Support icon for Atom link
Open, Stalled, MediumPublicBUG REPORT

Description

In Vector an Atom icon showed next to the menu item. This is not shown in Vector 2022 skin.

https://en.wikipedia.org/wiki/Special:Contributions/TheDJ?useskin=vector
https://en.wikipedia.org/wiki/Special:Contributions/TheDJ?useskin=vector-2022

Screen Shot 2023-02-13 at 10.22.07 AM.png (167×133 px, 10 KB)

Screen Shot 2023-02-13 at 10.22.29 AM.png (333×1 px, 59 KB)

TODO

  • It should be possible to register the feed icon using the icon property on menu item data
  • The icon should appear in Vector 2022 next to the feed icon. Technically it should be using mw-ui-icon

QA Steps

  • There should be an icon for the feed icon
  • No other menu items should have icons.

Background

Previously icon was overlapping, but we disabled that in Web-Team FY2022-23 Q3 Sprint 2

Screenshot 2023-01-23 at 22.48.14.png (618×656 px, 48 KB)

Now no icon shows at all.

  • Disable icon styling for Vector 2022

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

I guess we'll need to do a temporary fix here as we did for the watchstar since this menu doesn't officially support icons yet.

Style is coming from a module in core (not sure why it needs its own module)
I suggest we move this to a skin style module on the short term and add a specific rule for Vector 2022.
https://gerrit.wikimedia.org/g/mediawiki/core/+/595da3dec864e8a0f827d703be040370d0be27e2/resources/src/mediawiki.feedlink/feedlink.css#4

LGoto set the point value for this task to 3.Jan 26 2023, 6:36 PM

Hi, FYI there is a similar issue on frp.wikipedia for sister projects icons
actually

Screenshot 2023-01-27 at 12-29-01 Vouiquipèdia Lo Câfè du Velâjo — Vouiquipèdia.png (890×244 px, 28 KB)

with ?vectorpagetools=1

Screenshot 2023-01-27 at 12-32-46 Vouiquipèdia Lo Câfè du Velâjo — Vouiquipèdia.png (914×575 px, 62 KB)

ovasileva raised the priority of this task from Medium to High.Jan 27 2023, 4:42 PM

I mistakenly reported this issue again (as you can see above), didn't know there already was a task open. It might be useful to see my task as I reported where the issue was originating from (namely, the 16px left padding on the feed icon is not applied because of a rule with more specificity with a 0px left and right padding).

@Patafisik I've opened T328157 for the sister icons. I suggest fixing this one first has hopefully solution can be applied there too.

Change 885006 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/skins/Vector@master] Page tools: Atom's link icon overlaps the link

https://gerrit.wikimedia.org/r/885006

Change 885478 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/skins/Vector@master] [WIP] Page tools: Atom's link icon overlaps the link

https://gerrit.wikimedia.org/r/885478

Change 885480 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/core@master] [WIP][Core] Page tools: Atom's link icon overlaps the link

https://gerrit.wikimedia.org/r/885480

Change 885478 abandoned by Mabualruz:

[mediawiki/skins/Vector@master] [WIP] Page tools: Atom's link icon overlaps the link

Reason:

https://gerrit.wikimedia.org/r/885478

Change 885006 abandoned by Mabualruz:

[mediawiki/skins/Vector@master] Page tools: Atom's link icon overlaps the link

Reason:

https://gerrit.wikimedia.org/r/885006

Change 886847 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/core@master] [Core][quickfix] Page tools: Atom's link icon overlaps the link

https://gerrit.wikimedia.org/r/886847

Change 886847 merged by jenkins-bot:

[mediawiki/core@master] mediawiki.feedlink: Atom's link icon overlaps the link

https://gerrit.wikimedia.org/r/886847

Change 886852 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/core@master] [followup] mediawiki.feedlink: Atom's link icon overlaps the link

https://gerrit.wikimedia.org/r/886852

Change 886852 merged by jenkins-bot:

[mediawiki/core@master] [followup] mediawiki.feedlink: Atom's link icon overlaps the link

https://gerrit.wikimedia.org/r/886852

Change 887350 had a related patch set uploaded (by Jdlrobson; author: Mabualruz):

[mediawiki/core@wmf/1.40.0-wmf.22] [followup] mediawiki.feedlink: Atom's link icon overlaps the link

https://gerrit.wikimedia.org/r/887350

I think this would benefit of a break down to 2 more tasks, and moving this one along to QA.

  1. Prepare Core Icons config
  2. Change the generation of the pagetools to use vector components
Jdlrobson renamed this task from Page tools: Atom's link icon overlaps the link to Page tools: Support icon for Atom link (was Atom's link icon overlaps the link).Feb 7 2023, 7:59 PM
Jdlrobson updated the task description. (Show Details)

Change 887350 merged by jenkins-bot:

[mediawiki/core@wmf/1.40.0-wmf.22] [followup] mediawiki.feedlink: Atom's link icon overlaps the link

https://gerrit.wikimedia.org/r/887350

Mentioned in SAL (#wikimedia-operations) [2023-02-07T21:20:28Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:887353|Disable languages on history page (T328996)]], [[gerrit:887351|Remove button styling from log in link (T289212)]], [[gerrit:887350|[followup] mediawiki.feedlink: Atom's link icon overlaps the link (T327717)]]

Mentioned in SAL (#wikimedia-operations) [2023-02-07T21:22:20Z] <urbanecm@deploy1002> urbanecm and jdlrobson: Backport for [[gerrit:887353|Disable languages on history page (T328996)]], [[gerrit:887351|Remove button styling from log in link (T289212)]], [[gerrit:887350|[followup] mediawiki.feedlink: Atom's link icon overlaps the link (T327717)]] synced to the testservers: mwdebug1001.eqiad.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug2001.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-02-07T21:31:38Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:887353|Disable languages on history page (T328996)]], [[gerrit:887351|Remove button styling from log in link (T289212)]], [[gerrit:887350|[followup] mediawiki.feedlink: Atom's link icon overlaps the link (T327717)]] (duration: 11m 10s)

I have documented some of what we need here:

https://docs.google.com/document/d/1Y6pFRGbMj1d8pONRobv09wIEe5nI4Cp_tM1DiqlaPfw/edit?usp=sharing

I will continue to work on the task now, still document needs input/discussion and further filling and refining

Sprint 2 is now complete and this work was not finished so we've agreed to drop it off the sprint board.

Jdlrobson renamed this task from Page tools: Support icon for Atom link (was Atom's link icon overlaps the link) to Page tools: Support icon for Atom link.Feb 13 2023, 6:22 PM
Jdlrobson updated the task description. (Show Details)

Hi, note that on en.wiki there is a default gadget (also show for anons) with an icon. "Edit interlanguage links"

obraz.png (920×660 px, 90 KB)

Not a fan of that icon, but I guess that should be fixed too.

Note that the script that adds this probably needs fixing too as it doesn't add a menu item in a standard way (and so doesn't have text in a span element).

Jdlrobson changed the task status from Open to Stalled.Feb 23 2023, 12:59 AM
Jdlrobson updated the task description. (Show Details)
Jdlrobson removed the point value for this task.
ovasileva lowered the priority of this task from High to Medium.Mar 1 2023, 11:40 PM
ovasileva moved this task from Not ready to estimate to Current Quarter on the Web-Team-Backlog board.

Change 1011429 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/skins/Vector@master] [POC][DO NOT MERGE] Page tools: Support Link's Icons

https://gerrit.wikimedia.org/r/1011429

I've created a new proof of concept for this Task. Moving forward, we will require:

  • Input from the design
  • An overview of the technical design

Change 885480 abandoned by Mabualruz:

[mediawiki/core@master] [POC][DO NOT MERGE] P Page tools: Atom's link icon overlaps the link

Reason:

Old and will be used as a reference for future development only

https://gerrit.wikimedia.org/r/885480

Change 1011429 abandoned by Mabualruz:

[mediawiki/skins/Vector@master] [POC][DO NOT MERGE] Page tools: Support Link's Icons

Reason:

Not needed in the current work linked to task for future reference

https://gerrit.wikimedia.org/r/1011429