This talk page is automatically archived. Any threads with no replies in 7 days may be automatically moved. Archives:2014, 2015, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024
Please indent your posts with one more ":" than what you are replying to, i.e. begin with ":" if replying to an existing topic and "::" if replying to a reply.
I will generally respond here to comments that are posted here, rather than replying via your Talk page (or the article Talk page, if you are writing to me here about an article), so you may want to watch this page until you are responded to, or specifically let me know where you'd prefer the reply.
out = out .. "<p><div>'''Live'''</div>" .. (res ~= '' and res or "''No output''") .. '</p>\n'
to
out = out .. "<div>'''Live'''</div>" .. (res ~= '' and res or "''No output''") .. '\n'
Then you changed it to
out = out .. "<p>'''Live'''<br>" .. (res ~= '' and res or "''No output''") .. '</p>\n'
but unfortunately, from ExpandTemplates, the output of this line is
<p>'''Live'''<br>
which has a missing end tag for <p>, and I don't speak module markup, so I can't fix it. —Anomalocaris (talk) 19:46, 20 December 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241220194600","author":"Anomalocaris","type":"comment","level":1,"id":"c-Anomalocaris-20241220194600-Module:Sandbox\/BrandonXLF\/Module:Map_params\/testcases","replies":["c-Jonesey95-20241220204800-Anomalocaris-20241220194600"]}}-->
I fixed the missing /p tag for the basic example, but the "Whitespace separator" example is still broken, because it has <p>...</p> tags wrapping block content with the p and /p tags at different indent levels. <p>...</p> tags can't be used in this way. This is probably why I removed the p tags in the first place; using div tags instead of p tags should resolve this problem. – Jonesey95 (talk) 20:48, 20 December 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241220204800","author":"Jonesey95","type":"comment","level":2,"id":"c-Jonesey95-20241220204800-Anomalocaris-20241220194600","replies":[]}}-->
Ahmad Adeb 213.14.19.185 (talk) 18:18, 21 December 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241221181800","author":"213.14.19.185","type":"comment","level":1,"id":"c-213.14.19.185-20241221181800-05526376612","replies":[]}}-->
I easy explanation what we do for wikipedia. Hurcusy (talk) 19:45, 23 December 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241223194500","author":"Hurcusy","type":"comment","level":1,"id":"c-Hurcusy-20241223194500-Add_topic","replies":[]}}-->
__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-MediaWiki_message_delivery-20241225000000","type":"heading","level":0,"id":"h-The_Signpost:_24_December_2024-20241225000000","replies":["c-MediaWiki_message_delivery-20241225000000-The_Signpost:_24_December_2024"],"text":"The Signpost: 24 December 2024","linkableTitle":"The Signpost: 24 December 2024"}-->
__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-MediaWiki_message_delivery-20241225000000","type":"heading","level":0,"id":"h-The_Signpost:_24_December_2024-20241225000000","replies":["c-MediaWiki_message_delivery-20241225000000-The_Signpost:_24_December_2024"],"text":"The Signpost: 24 December 2024","linkableTitle":"The Signpost: 24 December 2024"}-->
Hello everyone, and welcome to the 26th issue of the Wikipedia Scripts++ Newsletter, covering all our favorite new and updated user scripts since 1 August 2024. At press time, over 94% of the world has legally fallen prey to the merry celebrations of "Christmas", and so shall you soon. It's been a quiet 4 months, and we hope to see you with way more new scripts next year. Happy holidays! Aaron Liu (talk) 05:06, 25 December 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241225050600","author":"Aaron Liu","type":"comment","level":1,"id":"c-Aaron_Liu-20241225050600-Scripts++_Newsletter_\u2013_Issue_26","replies":[]}}-->
Got anything good? Tell us about your new, improved, old, or messed-up script here!
Featured script
Very useful for changelist patrollers, DiffUndo, by Nardog, is this edition's featured script. Taking inspiration from WP:AutoWikiBrowser's double-click-to-undo feature, it adds an undo button to every line of every diff from "show changes", optimizing partial reverts with your favorite magic spell and nearly fulfilling m:Community Wishlist/Wishes/Partial revert undo.
Miscellaneous
Doğu/Adiutor, a recent WP:Twinkle/WP:RedWarn-like userscript that follows modern WMF UI design, is now an extension. However, its sole maintainer has left the project, which still awaits WMF mw:code stewardship (among some audits) to be installed on your favorite WMF wikis.
DannyS712, our former chief editor, has ascended to MediaWiki and the greener purpley pastures of PHP with commits creating Special:NamespaceInfo and the __EXPECTUNUSEDTEMPLATE__ magic word to exclude a template from Special:UnusedTemplates! I wonder if Wikipedia has a templaters' newsletter...
BilledMammal/Move+ needs updating to order list of pages handle lists of pages to move correctly regardless of the discussion's page, so that we may avoid repeating fiasco history.
Andrybak/Unsigned helper forks Anomie/unsignedhelper to add support for binary search, automatic edit summaries after generating the {{unsigned}} template, support for {{undated}}, and support for generating while syntax highlighting is on.
Polygnotus/Move+ updates BilledMammal's classic Move+ to add automattic watchlisting of all pages—except the target page(s)—changed while processing a move.