[go: up one dir, main page]

Page MenuHomePhabricator

Unpatrolled new pages and edits lack proper styling in dark mode
Closed, DuplicatePublicBUG REPORT

Description

NOTE: Sysadmins can workaround this by adding the rule /* T370423 */ .not-patrolled { color: black; } to [[MediaWiki:Vector-2022.css]] (or if possible a more limited place such as MediaWiki:Group-sysop.css)

Steps to replicate the issue (include links if applicable):

  • Go to a a wiki where the core patrolling is used, eg. nlwiki and have the adjacent right that allows you to patrol edits
  • Go to Special:NewPages or Special:Contributions
  • Enable dark mode

What happens?:
The page is barely readable due to a hardcoded background-color.

image.png (606×1 px, 229 KB)

What should have happened instead?:

A Codex token should be used that converts the colour automatically to one that is readable in dark mode, background-color-warning-subtle is too light in light mode imo. Waiting for T360494?

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

How to reproduce locally:

On a new pages patrolled ($wgUseNPPatrol) wiki, create a page with a user whose edits are not patrolled (e.g. an anon, but Translate’s FuzzyBot also works for me), and then look at Special:NewPages with a user who is User::useNPPatrol() (e.g. an admin).

image.png (66×970 px, 20 KB)

I cannot reproduce this anymore, it seems to have been changed to use the background-color-warning-subtle token.

(This task is older than that one, but the Gerrit patch is connected there, so it makes more sense to keep that one.)