Page MenuHomePhabricator

Icons missing in Vector 2022
Closed, ResolvedPublic

Assigned To
Authored By
Jdlrobson
Nov 15 2023, 11:54 PM
Referenced Files
Restricted File
Jan 31 2024, 3:00 PM
F41734918: image.png
Jan 31 2024, 2:51 PM
F41637237: image.png
Dec 28 2023, 1:05 PM
F41637236: image.png
Dec 28 2023, 1:05 PM
F41510831: image.png
Nov 16 2023, 1:39 PM
F41509153: Screenshot 2023-11-15 at 3.50.34 PM.png
Nov 15 2023, 11:54 PM

Description

Screenshot 2023-11-15 at 3.50.34 PM.png (273×208 px, 16 KB)

Expected:
Icon to display

Event Timeline

Is this about the extension or the gadget? If the former, I can't reproduce this with MW 1.40.

image.png (326×238 px, 15 KB)

I am also noticing that there are no icons in Minerva skin in the gadget and the extension. Should that be a new bug?

I am also noticing that there are no icons in Minerva skin in the gadget and the extension. Should that be a new bug?

The extension is not supposed to work in Minerva. Would be nice to have an icon added (there doesn't appear to be one in the HTML) to the gadget though.

I have the same error in a freshly setup mediawiki 1.41.0:

image.png (945×939 px, 100 KB)

image.png (945×939 px, 106 KB)

The fix should involve targeting .ext-darkmode-link .vector-icon::before as well as .ext-darkmode-link::before. The mw-ui-icon classes should also be removed.

	.ext-darkmode-link .vector-icon::before,
	.ext-darkmode-link::before {
		content: '\263E'; /* Moon icon */
		display: inline-block;
	}

This introduces an interesting regression:

image.png (186×97 px, 5 KB)

Jdlrobson claimed this task.
Jdlrobson edited projects, added: MW-1.41-release; removed: good first task, patch-welcome.

Possibly yes. Let's revisit before the next release.

Jdlrobson edited projects, added: MW-1.42-release; removed: MW-1.41-release.

Change #1019939 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/DarkMode@master] Restore dark mode for Vector 2022 skin

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

Jdlrobson changed the task status from Stalled to Open.Apr 15 2024, 11:16 PM

Change #1019939 merged by jenkins-bot:

[mediawiki/extensions/DarkMode@master] Restore dark mode for Vector 2022 skin

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

Change #1019911 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/DarkMode@REL1_42] Restore dark mode for Vector 2022 skin

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

Change #1019911 merged by Jdlrobson:

[mediawiki/extensions/DarkMode@REL1_42] Restore dark mode for Vector 2022 skin

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

Fixed and backported to 1.42.