Page MenuHomePhabricator

Mark `.mw-infobox` CSS class removal from legacy.less in 1.37
Closed, ResolvedPublic

Description

image.png (682×2 px, 131 KB)
as seen at
.mw-infobox is not following system user messages styles guidelines

  • it is using a warning similar styling for a normal infobox
  • the border width and margins are single appearances

It should be standardized in appearance and evaluated if those styles are possible to be removed from legacy module.


Current usage
https://codesearch.wmcloud.org/search/?q=mw-infobox&i=nope&files=&repos=
https://gerrit.wikimedia.org/g/mediawiki/core/+/6e5c7e97b4e9ffc320371fba684954f72c6dce04/resources/src/mediawiki.skinning/legacy.less

  1. sign off steps
  2. Usage removed in Extension:Translate
  3. Usage removed in Extension:TranslateNotifications
  4. Make sure a task exists for removing this along with other styles in 1.37 (see T89981)

Event Timeline

Change 647759 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/core@master] Mark mw-infobox styles as deprecated

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

This will close out this particular task so we can focus on T232903

Jdlrobson renamed this task from Standardize and possibly remove mw-infobox from legacy.less to Mark mw-infobox removal from legacy.less in 1.37.Dec 10 2020, 7:02 PM
Jdlrobson triaged this task as Medium priority.
Jdlrobson updated the task description. (Show Details)
Volker_E renamed this task from Mark mw-infobox removal from legacy.less in 1.37 to Mark `.mw-infobox` CSS class removal from legacy.less in 1.37.Dec 15 2020, 1:25 PM
Volker_E added a project: CSS.

Change 651849 had a related patch set uploaded (by VolkerE; owner: VolkerE):
[mediawiki/extensions/Translate@master] Replace deprecated class with core's warningbox

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

Change 651853 had a related patch set uploaded (by VolkerE; owner: VolkerE):
[mediawiki/extensions/TranslationNotifications@master] Replace deprecated mw-infobox with `messagebox

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

Change 651849 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Replace deprecated class "mw-infobox" with Html::warningBox

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

Change 651853 merged by jenkins-bot:
[mediawiki/extensions/TranslationNotifications@master] Replace deprecated mw-infobox with Html::warningBox

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

Change 647759 merged by jenkins-bot:
[mediawiki/core@master] Mark .mw-infobox styles as deprecated

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

  NODES
Note 7
Project 10