Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
ANRC Universe
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module talk:Message box
Add topic
Module
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Add topic
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{oldtfdfull|date= 2020 February 15 |result=keep |disc=Module:Message box}} <noinclude>{{permprot}}</noinclude> {{Archives|bot=lowercase sigmabot III|age=30}} {{User:MiszaBot/config | algo = old(30d) | archive = Module talk:Message box/Archive %(counter)d | counter = 2 | maxarchivesize = 150K | archiveheader = {{Automatic archive navigator}} | minthreadstoarchive = 1 | minthreadsleft = 4 }} ==CSS instead of tables== <!-- [[User:DoNotArchiveUntil]] 07:19, 19 November 2026 (UTC) -->{{User:ClueBot III/DoNotArchiveUntil|1795072785}} {{moved discussion from|Template talk:Ambox#CSS instead of tables|[[User:Sapphaline|Sapphaline]] ([[User talk:Sapphaline|talk]]) 10:25, 20 August 2025 (UTC)}} Could this thing use <code><nowiki><div style="display:table;"></nowiki></code> and <code><nowiki><div style="display:table-cell;"></nowiki></code> instead of literal tables and table cells (<code><nowiki><table></nowiki></code>, <code><nowiki><td></nowiki></code>)? Were the any previous attempts to remake this using <code><nowiki><div></nowiki></code>? If so, what was the consensus? [[User:Sapphaline|Sapphaline]] ([[User talk:Sapphaline|talk]]) 09:46, 20 August 2025 (UTC) :A long time ago this would have been converted to divs but apparently IE sucked (this should not be news). :Today, I have [[User:Izno/Sandbox/Ambox]] with what are some skimmings and started a sandbox at [[Module:Message box/div]]. I have just done a very bad job of finishing this work. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 22:09, 24 August 2025 (UTC) ::Which might be closer to done than not, honestly. I think what it currently needs is to ::# Double check the ambox work ::# Add "soft" support for the other kinds of boxes (where soft is defined as module-supports but config disabled) ::# Merge tested /div version but not CSS into main ::# Enable boxes of each kind one by one. ::#* Leave ambox for penultimate as the most likely to cause some mass noise in a way ::#* Probably somewhere around here do ombox, [https://en.wikipedia.org/w/index.php?search=insource%3A%2FMessage%5B%20_%5Dbox%5C%2Fombox%5C.css%2F%20-intitle%3A%2F(%5BSs%5Dandbox%7C%5C%2Fdoc)%2F&title=Special%3ASearch&profile=advanced&fulltext=1&ns10=1&ns828=1 that has some needed coordination] ::#* Leave tmbox for ultimate, there is work to [https://en.wikipedia.org/w/index.php?search=insource%3A%2FMessage%5B%20_%5Dbox%5C%2Ftmbox%5C.css%2F%20-intitle%3A%2F(%5BSs%5Dandbox%7C%5C%2Fdoc)%2F&title=Special%3ASearch&profile=advanced&fulltext=1&ns10=1&ns828=1 coordinate] ::# Fix bugs that are identified ::# Move CSS over to better-named stylesheet ::# Delete the /div CSS (I won't be too sad) ::# Remove main support for table versions, possibly rename some things ::[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 22:42, 24 August 2025 (UTC) ::I have now put this plan in a publicly editable place at [[Module:Message box/div/doc]]. [[User:Izno|Izno]][[User:IznoPublic|Public]] ([[User talk:Izno#top|talk]]) 00:26, 26 August 2025 (UTC) ::Hi! I didn't know you were doing this, so I made something similar. It seems to work: ::* Module: [https://en.wikipedia.org/w/index.php?title=Module%3AMessage_box%2Fsandbox&diff=1310791170&oldid=1300331049] ::* Styles: [https://en.wikipedia.org/w/index.php?title=Module%3AMessage_box%2Fsandbox%2Fambox.css&diff=1310791252&oldid=1305438959] :: [[User:Iniquity|Iniquity]] ([[User talk:Iniquity|talk]]) 16:57, 11 September 2025 (UTC) :::Yes, I did it in its own sandbox because it's a longterm enough project not to be done in the main sandbox, which should generally be releasable ad hoc for trivial issues. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 17:03, 11 September 2025 (UTC) :::And also, there are enough other dependencies that "just change the two or three places" isn't going to fly. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 17:06, 11 September 2025 (UTC) ::::Where else do you think this will affect? ββIt seems that only the mobile version is oriented towards <syntaxhighlight inline lang="css">table.ambox</syntaxhighlight>, which can also be corrected by CSS [[User:Iniquity|Iniquity]] ([[User talk:Iniquity|talk]]) 17:09, 11 September 2025 (UTC) :::::I have already documented in [[Module:Message box/div/doc]] multiple places that will need careful work, ambox among them. Please feel free to peruse and ask questions about what's there and why. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 17:41, 11 September 2025 (UTC) ::::::Thanks! [[User:Iniquity|Iniquity]] ([[User talk:Iniquity|talk]]) 17:47, 11 September 2025 (UTC) :What's broken here? I've probably wrong but AFAIK for accessibility the existing role="presentation" should suffice. [[User:Aaron Liu|<span class="skin-invert" style="color:#0645ad">Aaron Liu</span>]] ([[User talk:Aaron Liu#top|talk]]) 23:21, 28 August 2025 (UTC) ::You should always endeavor to use the default aria role element. In this case, that's not a table. Ignoring that, tables are shit for doing other presentation with. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 03:20, 29 August 2025 (UTC) :::This /div work is great work, thanks for this <span class="fn nickname" style="color:#CD0000">[[User:Waddie96|waddie96]] β ([[User talk:Waddie96|talk]])</span> 19:49, 8 September 2025 (UTC) :Ok, I think we can do {{tl|cmbox}} now. Based on what I wrote down before, the process of a rollout is: :# Alert some key pages. Has to include some verbiage like <blockquote>A change is occurring to how {{tl|cmbox}} is implemented to support mobile resolutions better. It may cause some temporary display weirdness. Further information is available at [[Module talk:Message box#cmbox migration]].</blockquote> with some text at the specific section <blockquote><p>A change is planned to occur 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}} is probably next).</p><p>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).</p></blockquote> :#* Here (here, here is the warning) :#* [[WP:VPT]] :#* [[MediaWiki talk:Common.css]] :#* Maybe [[WT:CAT]] and [[WT:CFD]] :# Sync [[Module:Message box/sandbox]] to [[Module:Message box]] (first time only) :# Within quick succession to next step, sync [[Module:Message box/configuration/sandbox]] to [[Module:Message box/configuration]] :# Within quick succession to previous step, sync [[Module:Message box/div/cmbox.css]] to [[Module:Message box/cmbox.css]] :[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 17:08, 1 October 2025 (UTC) :: The /div main and config modules have got some other adjustments that now make it different from what will end up going live, so they shouldn't generally be synced directly. For future me. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 21:59, 1 October 2025 (UTC) ::Also messages now posted to VPT and Common.css. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 22:00, 1 October 2025 (UTC) ::cmbox is deployed. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 20:30, 2 October 2025 (UTC) :::Ok, cmbox has been basically quiet besides notes from the below. I will now work on fmbox, which should also be relatively low impact. I'm also starting to sketch out imbox which may need to interact with template content from Commons as well as [[:c:MediaWiki:Filepage.css]]. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 20:44, 7 October 2025 (UTC) ::::Turns out I don't currently have to worry about commons names, which is something I should have noted when I split message box CSS during the TemplateStylization. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 01:03, 17 October 2025 (UTC) :::::What does {{tq|split message box CSS during the TemplateStylization}} mean exactly? :::::Also, what can I help with. <span class="fn nickname" style="color:#CD0000">[[User:Waddie96|waddie96]] β ([[User talk:Waddie96|talk]])</span> 03:56, 17 October 2025 (UTC) ::::::All of the CSS for the message boxes was once in [[MediaWiki:Common.css]]. I moved it to TemplateStyles with some effort because of [[MediaWiki talk:Common.css/to do#description|reasons]]. ::::::This effort now that I've got my feet under me probably doesn't need much assistance. If you want to spend time on something, working on the problems listed at [[MediaWiki talk:Common.css/to do#Infobox]] would be excellent. If you want to spend some time on stuff, crafting an infobox (using Lua or template) to fix our ''career statistics'' pages would be super helpful. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 00:27, 19 October 2025 (UTC) :{{ping|Izno}} any progress? [[user:sapphaline|<span class="skin-nightmode-reset-color" style="color:#c20;text-decoration:underline">sapphaline</span>]] ([[user talk:sapphaline|<span class="skin-nightmode-reset-color" style="color:#236;text-decoration:underline">talk</span>]]) 13:20, 18 December 2025 (UTC) ::You can see the progress at [[Module:Message box/div/doc]]. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 18:08, 18 December 2025 (UTC) == imbox migration == A change is occurring in how {{tl|imbox}} is implemented. It should help improve display at mobile resolutions now, and accessibility later. imbox was chosen third because it has lower reader-facing impact than most other message box types and it's fairly self-contained. (There is some other planning information in [[#CSS instead of tables]].) (Previously, [[#cmbox migration|cmbox]] and [[#fmbox migration|fmbox]] were done.) 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 imboxes). This may also, but should not have, affected the already-migrated cmbox and fmbox, so if those also appear to have an issue, here is a good spot now. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 18:34, 19 October 2025 (UTC) == T367463 == Since it's fixed, can the relevant CSS rule be removed? [[User:Andyrom75|<span style="color:#BB0000; font-family:Papyrus; font-size:12px">'''Andyrom75'''</span>]] ([[User talk:Andyrom75|talk]]) 07:07, 19 November 2025 (UTC) :@[[User:Izno|Izno]], @[[User:Jdlrobson|Jdlrobson]], ping. [[User:Andyrom75|<span style="color:#BB0000; font-family:Papyrus; font-size:12px">'''Andyrom75'''</span>]] ([[User talk:Andyrom75|talk]]) 07:08, 19 November 2025 (UTC) ::What do you think is fixed exactly? [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 07:14, 19 November 2025 (UTC) ::And what rule do you think should be removed? [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 07:19, 19 November 2025 (UTC) ==Plural for {{Tlx|Hooks}}== {{edit fully-protected|answered=yes}} Please copy [https://en.wikipedia.org/w/index.php?title=Module:Message_box/sandbox&oldid=1327882000 this sandbox version] (not the current version, which links to Module:Message box/configuration/sandbox) to live. [https://en.wikipedia.org/w/index.php?title=Module%3AMessage_box%2Fsandbox&diff=1327882000&oldid=1317219285 Changes.] Let me know when done, and I'll update the documentation for the module, and make other tweaks. All the best: ''[[User:Rich Farmbrough|Rich]] [[User talk:Rich Farmbrough|Farmbrough]]''<small> 17:12, 16 December 2025 (UTC).<br /></small> :[[File:X mark.svg|20px|link=|alt=]]Β '''Not done for now:''' please establish a [[Wikipedia:Consensus|consensus]] for this alteration '''[[Wikipedia:Edit requests#Planning a request|before]]''' creating an edit request.<!-- Template:EP --> Namely, making a change to a template used on 20 million pages because you created a template today? For a wording tweak? Please show a consensus that this is something desirable. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 18:09, 16 December 2025 (UTC) :: Looking at the archive I see you make changes without awaiting consensus. I find this modern gatekeeping behaviour unfortunate. All the best: ''[[User:Rich Farmbrough|Rich]] [[User talk:Rich Farmbrough|Farmbrough]]''<small> 02:48, 17 December 2025 (UTC).<br /></small> :::Flinging some incorrect mud (I have been very public about the changes I've implemented of my own resort in this module even if you didn't find where) is not any more likely to convince me or anyone else of the value of {{em|this}} change (see also [[WP:OTHERSTUFF]]: your edit request is relevant, not any of my edits). :::I also note that you were apparently able to [https://en.wikipedia.org/w/index.php?title=Template:Hooks&diff=cur&oldid=1327880498 implement the same display as what you wanted] without making the change in this module. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 04:00, 17 December 2025 (UTC) ::::And just to be very clear, the two changes at my desire have been the following: ::::# Supporting TemplateStyles. In this module, that had prior requests at [[Module_talk:Message_box/Archive_1#Use_TemplateStyles|Use TemplateStyles]], [[Module_talk:Message_box/Archive_1#A_question_to_small_param_and_TemplateStyle|A question to small param and TemplateStyle]], and [[Module_talk:Message_box/Archive_1#Site-local_configuration_source_for_sisters_importing_from_here|Site-local configuration...]]. I had set up [[MediaWiki talk:Common.css/to do]] previously with provided description there, and have generally advertised that link every chance I get because I don't like being the only person spending time on making changes more accessible to a wider public (you may check [[Special:Whatlinkshere/MediaWiki talk:Common.css/to do|what links here]] at your leisure), and had also generally mused about the problem {{em|much}} earlier at [[Wikipedia_talk:TemplateStyles/Archive_1#In_the_context_of_meta_templates|In the context of meta templates]]. That culminated, when I finally got around to it, in [[Module_talk:Message_box/Archive_1#mbox_is_now_TemplateStyled_only|mbox is now TemplateStyled only]] and associated target link. For which there have been no complaints not trivially remedied. ::::# Changing the table structure to divs. {{em|That}} change is [[Module_talk:Message_box#CSS_instead_of_tables|right there]] and was also implicated in [[Module_talk:Message_box/Archive_1#Aria_roles|Aria roles]] and separately reinforced in the individual advertisements I've so far made, like [[Module_talk:Message_box/Archive_2#cmbox_migration|cmbox migration]]. The cmbox migration section was incidentally also advertised to VPT. ::::Any other changes that I made were implemented due to requested edit. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 04:21, 17 December 2025 (UTC) :::::I don't mind that you made intelligent changes to the module, saying "Ok I did it anyway" - in fact I absolutely support them. ''Even if I would have disagreed with them.'' :::::And yes, I coded around the obstacle by using an older method which I had previously used in {{Tlx|Hook}} (which I created). People have "updated" that, I do them the courtesy of assuming that their updates add value, unless I know otherwise. :::::If someone wants to update {{Tlx|Hooks}} in the same way that {{Tlx|Hook}} was updated, they will have to, apparently, gain consensus. I won't. :::::If I see a problem on Wikipedia I like to fix it. If something stops me doing it one way, I'll usually try another. :::::Hope that is all clear, and that you agree with my sentiments. :::::All the best: ''[[User:Rich Farmbrough|Rich]] [[User talk:Rich Farmbrough|Farmbrough]]''<small> 13:47, 17 December 2025 (UTC).<br /></small>
Summary:
Please note that all contributions to ANRC Universe may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
ANRC Universe:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Pages included on this page:
User:ClueBot III/DoNotArchiveUntil
(
edit
)
User:MiszaBot/config
(
edit
)
Template:Archives
(
edit
)
Template:Edit fully-protected
(
edit
)
Template:Em
(
edit
)
Template:Moved discussion from
(
edit
)
Template:Oldtfdfull
(
edit
)
Template:Permprot
(
edit
)
Template:Ping
(
edit
)
Template:Template link
(
edit
)
Template:Template link expanded
(
edit
)
Template:Tl
(
edit
)
Template:Tlx
(
edit
)
Template:Tq
(
edit
)
Module:Arguments
(
edit
)
Module:Template link general
(
edit
)
Search
Search
Editing
Module talk:Message box
Add topic