Module:Message box/div/doc
Appearance
| This is a documentation subpage for Module:Message box/div. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as alpha. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome. |
This is basically currently a sandbox of Module:Message box. It is intended to get things to be at parity with the main module before deploying to a lot of pages.
Plan
[edit]Diffs
[edit]Written
[edit]Plan is something like the following:
Resync the couple changes from the live modulesMerge tested /div version but not CSS into main- Check for main namespace use in Special:Search for stuff that isn't ambox
- Add /div/*mbox.css support for each box and set the relevant configuration in Module:Message box/div/configuration
- ombox
- minor coordination
- Have to convert Module:Archives to use its own TemplateStyles sheet I think is probably the best approach given the convolution with both ombox and tmbox. I got started on that a while ago, clearly need to make a return.
Wikipedia:Wikimedia sister projects#Specialized soft redirect templates
- tmbox
- major coordination
- tmbox min-widths, instituted with this discussion
- ambox (most reader visible)
- At least one pain point phab:T402969
- Consider in general lines like
.ambox div[1] - Learn more ends up in a weird place
- ensure
imageCellDivis incorporated into the CSS somehow.
- ombox
- Merge relevant configuration into Module:Message box/configuration/sandbox (namely, set div_structure to true)
- Enable boxes of each kind one by one.
- Move CSS from Module:Message box/div/*mbox.css to Module:Message box/div/*mbox.css
- Merge Module:Message box/configuration from sandbox
- Fix bugs that are identified
- Delete the /div CSS (I won't be too sad)
- Remove main support for table versions from module, rename some things
- Remove references to imageEmptyCell cross modules
Done
[edit]- cmbox
- fmbox
- imbox
- imbox.css diff
- Tests:
File:World of Warcraft.png (entirely local): no foreign copyFile:Information.svg (entirely local but shadows foreign): no issues with foreign copyFile:India roadway map.svg (local description, foreign file)File:Cat playing with a lizard.jpg (foreign description and file)Uses of mbox which is the imbox analog at Commons
Messaging
[edit]New section on Module talk:Message box:
== cmbox migration ==
A change is planned to occur sometime starting in the next day or two in how {{tl|cmbox}} is implemented. It should help improve display at mobile resolutions now, and accessibility later. cmbox was chosen because it has lower reader-facing impact than most other message box types and it's fairly self-contained. The change to cmbox will likely pave the way for other message boxes ({{tl|fmbox}} or {{tl|imbox}} is probably next). (There is some other planning information in [[#CSS instead of tables]].)
You can expect some difference in styling from previous for a small period due to the [[WP:Job queue|job queue]], after which it should return to "normal". You should be able to correct it manually if you want with one of the usual steps ([[WP:PURGE|purge]], [[WP:NULL|null edit]], or [[Help:Dummy edit|dummy edit]]). If an issue with display persists, leave a comment here (this scenario may be possible with some unexpected setup cmboxes).
Advertised at least at WP:VPT and MediaWiki talk:Common.css:
A change to how {{tl|cmbox}} is implemented to support mobile resolutions better is occurring soon. It may cause some temporary display weirdness. Further information is available at {{slink|Module talk:Message box|cmbox migration}}.