Page MenuHomePhabricator

Clean-up and consolidate `.errorbox` and `.error` styles in MobileFrontend and MinervaNeue
Closed, ResolvedPublic

Description

Currently there are several instances of .errorbox scattered in

  • MobileFrontend/resources/mobile.messageBox.styles/messageBox.less
  • MobileFrontend/resources/mobile.special.styles/common.less
  • MinervaNeue/resources/skins.minerva.base.styles/ui.less
  • MinervaNeue/skinStyles/mediawiki.special.userlogin.common.styles/minerva.less

and somewhat related .error treatment, that actually should be an error box in

  • MobileFrontend/resources/mobile.talk.overlays/talk.less

It seems unnecessarily complex to have those separated.

Also, .error should be used for inline error messages and .errorbox for error block messages and adhere to the standard treatment represented in OOUI's MessageBox.

Event Timeline

Change 534900 had a related patch set uploaded (by VolkerE; owner: VolkerE):
[mediawiki/extensions/MobileFrontend@master] Restructure 'messageBox' rules

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

Change 534900 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Unify foreground color and restructure 'messageBox' rules

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

Instance of wrongly applied error inline class, this needs to be errorbox:

image.png (922×852 px, 91 KB)

Change 573374 had a related patch set uploaded (by VolkerE; owner: VolkerE):
[mediawiki/extensions/MobileFrontend@master] Use errorbox for cookie saving error message

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

Change 573374 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Use errorbox for cookie saving error message

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

Jdlrobson claimed this task.

I'm assuming this can be resolved.