Background
Historically creating a div with the class mw-message-box creates a message box. Over time this has become redundant and has been replaced by Codex and as a result this CSS is only used in pages where the content contains this markup. In future we'd like to provide parser functions that allow rendering this HTML and after discussion with DST, we'd like to avoid editors being required to make markup changes until this is ready.
User story
As an editor I don't want to have to update 200 pages which reference the old markup.
Requirements
- If a page doesn't contain mw-message-box markup, no CSS for mw-message-box is loaded on page for any skin.
- If a page does contain mw-message-box markup, CSS for mw-message-box is loaded on page for any skin.
- The styling of mw-message-box does not need to be consistent with Codex.
This task was created by Version 1.2.0 of the Web team task template using phabulous