Page MenuHomePhabricator

The color of the legacy Vector TOC toggle became lighter
Closed, ResolvedPublicBUG REPORT

Description

Steps to reproduce

  1. Open a page containing a table of contents using the legacy Vector skin. E.g. https://hu.wikipedia.org/w/index.php?title=Szerkeszt%C5%91vita:Tacsipacsi/Arch%C3%ADv14&useskin=vector&safemode=1.
  2. Look at the toggle button of the table of contents

Actual result

  1. It has a lighter blue color. I’m not 100% sure, but I think it’s the same as the default link color on Vector 2022.

Expected result

  1. It has a darker blue color: the same color as all other links on the page.

Screenshot

Screenshot 2023-05-05 at 17-49-21 Szerkesztővita Tacsipacsi_Archív14 – Wikipédia.png (65×453 px, 9 KB)

The section link has the expected color, the [elrejtés] link is lighter than expected.

Event Timeline

@Tacsipacsi this looks like an intentional change coming from mediawiki core in this patch mediawiki.skinning: Use Codex DS tokens for colors & border-colors as such I'm not sure if it should be considered a bug.

We could potentially add an override for this color in legacy Vector though, since it does seem a bit out of place.

Thanks for the link! I was sure it was an intentional change in Vector 2022. However, when the link colors were changed in Vector 2022 in T213778, legacy Vector was explicitly out of scope. I’ve commented there a possible solution.

Change 918351 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/core@master] mediawiki.skinning: Make toggle label use link color token

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

Change 918351 merged by jenkins-bot:

[mediawiki/core@master] mediawiki.skinning: Make toggle label use link color token

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