User:Jdlrobson/T374499: Difference between revisions
Appearance
From Meta, a Wikimedia project coordination wiki
Line 33:
Line 33:
*** Consider using a screenshot. If not, follow recommendation for other.
*** Consider using a screenshot. If not, follow recommendation for other.
** Other [https://global-search.toolforge.org/?q=%5B%5C%22%27%5Dmw-message-box®ex=1&namespaces=0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C9%2C10%2C11%2C13%2C14%2C103%2C118%2C828&title=%5B%5E%5C.%5D* 134 pages]
** Other [https://global-search.toolforge.org/?q=%5B%5C%22%27%5Dmw-message-box®ex=1&namespaces=0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C9%2C10%2C11%2C13%2C14%2C103%2C118%2C828&title=%5B%5E%5C.%5D* 134 pages]
*** no action required for now
*** 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 [[mediawikiwiki:Template_gadgets|a template gadget]](削除) at time of writing via JavaScript (`page-with-codex[ResourceLoader|default|skins=timeless,monobook,vector|dependencies=mediawiki.htmlform.codex.styles]|`) (削除ここまで)
*** (追記) you (追記ここまで) (追記) can optionally migrate to (追記ここまで) Codex (追記) markup or alternative template (追記ここまで) (追記) if (追記ここまで) support(追記) is not essential (追記ここまで) for opt-in skins (Vector,Timeless,Monobook)(追記) . (追記ここまで) (追記) You (追記ここまで) (追記) can (追記ここまで) (追記) also (追記ここまで) load associated styles via [[mediawikiwiki:Template_gadgets|a template gadget]]
*** 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.
Revision as of 04:56, 19 September 2024
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
- no action required for now
- you can optionally migrate to Codex markup or alternative template if support is not essential for opt-in skins (Vector,Timeless,Monobook). You can also load associated styles via a template gadget
- MediaWiki namespace - 132 pages