Page MenuHomePhabricator

Special:SetSiteLink anon warning is unstyled
Closed, ResolvedPublicBUG REPORT

Description

Steps to reproduce

  1. Make sure you are logged out of Wikidata (you can use a private/incognito window, or you can use a Firefox container if you use Firefox).
  2. Go to https://www.wikidata.org/wiki/Special:SetSiteLink/Q42/be_x_oldwiki.
  3. Look at the paragraph directly above the form.

Actual result

It has no special styling.

Expected result

It stands out, as intended (see the warning class in HTML).

Other information

This was broken by T280766: Phase out legacy error, warning and success classes for usage outside the parser – four years ago…

How it probably used to look likeHow it now looks likeHow it will look like with my patch
Screenshot 2025-09-13 at 18-09-47 Set Item sitelink - Wikidata.png (288×960 px, 54 KB)
Screenshot 2025-09-13 at 18-09-04 Set Item sitelink - Wikidata.png (273×960 px, 50 KB)
Screenshot 2025-09-13 at 18-11-49 Set Item sitelink - Wikidata.png (294×960 px, 52 KB)

(The broken links are tracked in T404499.)

Event Timeline

Tacsipacsi changed the task status from Open to In Progress.Sep 13 2025, 3:35 PM
Tacsipacsi claimed this task.

Change #1187940 had a related patch set uploaded (by Tacsipacsi; author: Tacsipacsi):

[mediawiki/extensions/Wikibase@master] fix: Fix styling of anon edit warning boxes

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

Change #1187952 had a related patch set uploaded (by Tacsipacsi; author: Tacsipacsi):

[mediawiki/extensions/WikibaseLexeme@master] fix: Fix styling of anon edit warning boxes

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

Change #1187940 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] fix: Fix styling of anon edit warning boxes

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

Change #1187952 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] fix: Fix styling of anon edit warning boxes

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