Page MenuHomePhabricator

Messages boxes on special pages using Codex without associated style pack will be unstyled
Closed, ResolvedPublicBUG REPORT

Description

NOTE: I'm planning this change at end of March, so please review this issue and fix this before then!! Thanks in advance!

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

What happens?:

Message boxes are not styled

What should have happened instead?:

Styles for message boxes need to be added explicitly

For example this call to Html::errorBox should also include a call to OutputPage::addModuleStyles('mediawiki.codex.messagebox.styles') or ideally via CodexModule.

https://gerrit.wikimedia.org/g/mediawiki/extensions/CampaignEvents/+/33d6f39fb0a05ec96b06334126ae06f97faca922/src/Special/ChangeRegistrationSpecialPageBase.php#142

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

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

Event Timeline

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

[mediawiki/extensions/CampaignEvents@master] Add Codex MessageBox styles to all special pages

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

Change #1123708 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Add Codex MessageBox styles to all special pages

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

@vaughnwalters I'm moving this to QA in case you'd like to have a quick look. I think I've already verified all the relevant pages manually though, so I'll leave it up to you whether you think a second pair of eyes is needed.

@vaughnwalters I'm moving this to QA in case you'd like to have a quick look. I think I've already verified all the relevant pages manually though, so I'll leave it up to you whether you think a second pair of eyes is needed.

I looked at Special:EventDetails, Special:DeleteEventRegistration or Special:EditEventRegistration on Timeless, Monobook, and legacy Vector and it looks good to me as well. Marking as done / resolved.