Page MenuHomePhabricator

Enhance regex to fix night-mode-unaware-background-colors errors
Closed, ResolvedPublic

Description

Currently, the bot cannot fix styles encountered inside tables like {| cellspacing="0" style="width: 238px; background: red; color: #000;". This is a major limitation that particularly hampers its ability to fix these errors on Wiktionaries.
The bot needs to start looking at the styles inside tables.
(That example is from angwikt: https://ang.wiktionary.org/wiki/Bysen:es-conj)

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Enhance regex used to detect night-mode-unaware-background-colors errorstoolforge-repos/delintbot!14r4356thimprove-regexmain
Customize query in GitLab

Event Timeline

Redmin triaged this task as High priority.Apr 1 2026, 12:11 PM
Redmin moved this task from Triage to Up Next on the Tool-delintbot board.
Redmin updated the task description. (Show Details)

I can't remember what prompted the creation of this task or when I fixed this (or was this never accurate to begin with?) but this has not been correct in a long time, apparently.

Redmin renamed this task from Add ability to fix night-mode-unaware-background-colors errors in table styles to Enhance regex to fix night-mode-unaware-background-colors errors.Apr 8 2026, 7:01 PM
Redmin claimed this task.
Redmin lowered the priority of this task from High to Medium.
Redmin updated the task description. (Show Details)

r4356th merged https://gitlab.wikimedia.org/toolforge-repos/delintbot/-/merge_requests/14

Enhance regex used to detect night-mode-unaware-background-colors errors