Jump to content

Template talk:Old moves

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Old moves/sandbox)
Latest comment: 9 days ago by Primefac in topic Edit request on TemplateData, 31 October 2026

Unnamed parameter support

[edit]

I came across two invocations with the unnamed parameter (1=). Sadly, they result in a no-op, effectively hiding content. Can we make it so this generates at the very list a categorization and an alert to the editors? --Joy (talk) 15:24, 14 December 2023 (UTC)Reply

I drafted this in and added a test case Template:Old moves/testcases#No logs, no oldlist, no list, just first parameter that looks good.
Any objections to making that go live?
One thing we could do is also add a tracking category for these, or any other use of unnamed parameters. --Joy (talk) 14:50, 16 April 2025 (UTC)Reply
It's implemented now, and we have a to-do list in Category:Talk pages listing old moves with the first unnamed parameter. --Joy (talk) 08:18, 26 April 2025 (UTC)Reply

Support for including move reviews

[edit]

Could Module:Old moves have support added for listing move reviews? In my opinion, this would be helpful, as it would mean that moves & move reviews would be listed in a standardised format, and it wouldn't be necessary to use the |list= parameter to manually format all the RMs/MRVs.

All the best, ‍—‍a smart kitten[meow] 04:31, 22 February 2024 (UTC)Reply

Fault with heading

[edit]

There seems to be a fault causing the "Discussions:" header to appear twice when the template is collapsible. The fault can be observed in Template:Old moves/doc#Collapsed, multiple regular entries and no oldlist. Can anyone with more module expertise than me see what's happening? Bsherr (talk) 20:20, 30 May 2024 (UTC)Reply

Fixed. I made this edit which should fix this problem. The one side effect is that if you invoke {{old moves}} with no parameters, it will now have "Discussions:" where it didn't before—invoking the template without any parameters is unhelpful and almost never used, so I think this is fine. Mz7 (talk) 06:04, 17 July 2024 (UTC)Reply
Just thought of this fix which would get rid of even that side effect. Mz7 (talk) 06:11, 17 July 2024 (UTC)Reply

Extended-confirmed-protected edit request on 29 January 2025 fix dark mode

[edit]
−
background = "transparent",
+

Fix dark mode in collapsed version by removing the background style that was causing the text to be dark instead of light. There should be no change in light mode. 173.206.40.108 (talk) 18:31, 29 January 2025 (UTC)Reply

 Done Izno (talk) 02:38, 3 February 2025 (UTC)Reply

Template-protected edit request on 24 February 2026 - remove colon

[edit]

The title of the collapsible section is "Logs and discussions:" (in bold), but what's confusing is that the lists underneath (logs and discussions) also have titles with colons, in bold. So on second glance, it looks like something's missing after "Logs and discussions:". It would be clearer to remove the colon. This is standard practice, cf. Template:Collapsible list#Examples, Template:Hidden#Examples, and Template:Collapse.

−
"Logs and discussions:"
+
"Logs and discussions"

— W.andrea (talk) 04:20, 24 February 2026 (UTC)Reply

 Completed. P.I. Ellsworth , ed. – welcome! – 00:15, 26 February 2026 (UTC)Reply

Edit request on TemplateData, 31 October 2026

[edit]

I have added TemplateData into the documentation subpage of this template. However, if you try to add the template using the 2017 Wikitext editor's template wizard, it does not show any parameters, and there is also no autogeneration of parameters. I don't know why this is happening but I suspect it's because the code of the template is just {{#invoke:Old moves|main}}(what even is invoking a template, anyway?)
The code that added the TemplateData to the documentation subpage can be found here. Adding TemplateData can assist those adding the template for the first time to guide them on the required parameters without the need for constant checking of the documentation page. Thank you. Hason-LEK-SIN ● 💬 ● 🧱 ● 🧪 13:15, 31 October 2026 (UTC)Reply

It's probably a cache issue, there's nothing to do here that I can tell. If you are still experiencing issues try WP:VPT. Primefac (talk) 14:48, 31 October 2026 (UTC)Reply
Even after letting this sit for some time, the parameters still aren't showing up. I thought adding TenplateData to the documentation page will add it to the template itself? Hason-LEK-SIN ● 💬 ● 🧱 ● 🧪 23:38, 31 October 2026 (UTC)Reply
So did I, but I'm not familiar with the Visual Editor and how it interacts with TemplateData. Definitely worth asking at VPT. Primefac (talk) 14:32, 1 November 2026 (UTC)Reply