Page MenuHomePhabricator

Edit page should include Codex styles for message box
Closed, ResolvedPublicBUG REPORT

Description

The edit page uses Html::messageBox which currently spits out a hybrid of Codex's message box HTML and legacy message box HTML but it does not seem to load the associated Codex styles, instead expecting skins to load it.

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

What happens?:

  • The message "Вы не представились системе" is styled as a legacy message box instead of a Codex message box.

What should have happened instead?:

  • The message should be styled by Codex.

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

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

Event Timeline

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

[mediawiki/core@master] Style Codex message boxes on edit pages

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

Change #1074471 merged by jenkins-bot:

[mediawiki/core@master] Add Codex message box style module to pages that need it

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

Jdlrobson changed the task status from Open to Stalled.Sep 20 2024, 10:18 PM

Stalling until we have T375287 in place so can identify other pages.

Jdlrobson claimed this task.

This one is fixed visually - I am seeing the inline Codex styles and block styles.
There is follow up work to not rely on Skin.php to load it - I'm going to resolve this and track that work in T375287.