User:Jdlrobson/T374499
Appearance
From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Jdlrobson (talk | contribs) at 04:53, 19 September 2024 (→Migration notes ). It may differ significantly from the current version .
Old markup
This is a warning message with old markup.
Currently:
- Supported by opt-in skins: legacy Vector, Modern, Timeless
- Not supported by Minerva in any namespace
- Not supported by Vector 2022 unless JavaScript is enabled in any namespace
- Not consistent with other message boxes across the MediaWiki interface
New markup
This is a warning message with new markup.
- Currently not supported by opt-in skins ( legacy Vector, Modern, Timelesswithout Category gadget loading Codex.) in article namespace.
- Supported in MediaWiki namespace for messages used in UI e.g. editor form.
- Supported by Minerva
- Supported by Vector 2022
- In future, compatible will be compatible with any stable Codex that is created by https://phabricator.wikimedia.org/T363607
- Consistent with other message boxes across the MediaWiki interface
Migration notes
At time of writing (17th September) the following pages are impacted.
- JS / CSS - 48 pages
- This is officially supported.
- ACTION: can safely use the new markup in all skins with Codex module dependency.
- Content - 276 pages
- MediaWiki namespace - 132 pages
- This is officially supported.
- ACTION: can safely use the new markup in all skins. For gadgets, you can add mediawiki.htmlform.codex.styles as a dependency to guarantee the styles are loaded in legacy skins
- Help - 10 pages
- Consider using a screenshot. If not, follow recommendation for other.
- Other 134 pages
- ACTION: Migrate to Codex markup or alternative template.
- If using Codex, and needing support for opt-in skins (Vector,Timeless,Monobook) you will need to load the associated styles via a template gadget at time of writing via JavaScript (`page-with-codex[ResourceLoader|default|skins=timeless,monobook,vector|dependencies=mediawiki.htmlform.codex.styles]|`)
- While legacy skins are not supported currently, we are considering alternative methods for loading the code in legacy skins and this markup will work in future.
- MediaWiki namespace - 132 pages