Module talk:JSONutil/sandbox

Latest comment: 28 days ago by RogueScholar in topic Module move request

Module move request

edit

I've been working on making Module:Format TemplateData more generally functional and suitable for more widespread application. In syncing the upstream changes from de:Modul:TemplateData as suggested by User:GKFX a while back on the Template:Format TemplateData talk page, I learned that the current failure of that template's |JSON= parameter to behave as expected appears to be from this module having been deleted in the interim. I've tweaked/polished the upstream code and saved it at Module:JSONutil/sandbox and likewise adapted their documentation at Module:JSONutil/doc. Barring any objections, I'm requesting that the sandbox code be moved into production at Module:JSONutil so the original work can proceed. ogueScholar  ₨🗩 19:39, 27 January 2026 (UTC)Reply

@Xaosflux, pinging the protecting admin for comment  Martin (MSGJ · talk) 18:27, 28 January 2026 (UTC)Reply
Ugh, good question. I'm going to have to dig back a few years to see what problem this was related to. — xaosflux Talk 19:22, 28 January 2026 (UTC)Reply
@MSGJ: hmm this seems related to Wikipedia:Village_pump_(technical)/Archive_206#Transclusions_of_non-existent_module and that if this went live lots of other pages may start unexpectedly changing due to copypasta. Not sure if we need to care any more, thoughts ? — xaosflux Talk 19:49, 28 January 2026 (UTC)Reply
Temporarily turning this off to help search without all the edit request transclusions in the way. — xaosflux Talk 19:45, 28 January 2026 (UTC)Reply
Back enqueued. — xaosflux Talk 19:50, 28 January 2026 (UTC)Reply
Considering Format TemplateData isn't widely used yet here, perhaps we can just try enabling this module and see what happens? Honestly the referenced colloquy at the Village Pump was extremely vague and consisted almost entirely of hand-wavy descriptions of "things" being "broken." That makes it hard to address head-on. I honestly don't anticipate any breakage at all, but even if some did occur, it's confined to template documentation at least. ogueScholar  ₨🗩 14:08, 14 February 2026 (UTC)Reply
Sorry for being a nuisance @Xaosflux, but were you ever able to locate any specific details for why this Module required such strict page protection to begin with? A present-day full-text search of all the namespaces here leads me to conclude that Module:Format TemplateData (my "rehab" project) is the only one still calling it explicitly, making my request for restoration from the current sandbox an extremely low risk for disruption of any sort. I genuinely believe there is a tangible benefit to be derived for editors—especially those that are still gaining familiarity with TemplateData—from adding more formatting capabilities and context clues to the presentation of this information. (NB: If approved, the responding editor should concomitantly reverse the deletion of Module:JSONutil/doc; my original expectation was that this request would be approved much quicker and that placing the documentation there in the first place would save the effort of another page move when acted upon.) ogueScholar  ₨🗩 23:33, 3 May 2026 (UTC)Reply
Not strictly, seems like it was going to get invoked when not expected. Do you actually need it at THIS page title? — xaosflux Talk 00:37, 4 May 2026 (UTC)Reply
No, I suppose not, though in cases like this where it's 95% someone else's code that I've simply tweaked, I try to avoid mucking around with how everything is structured whenever possible. Not only does it complicate merging in upstream changes, but of course there's no guarantee that I'll be the next editor to touch the page and unfamiliar editors are then put at an even greater disadvantage. There shouldn't be any need to alter the name though if there's no remaining references to this module name here, right?