Template talk:Section move from

Latest comment: 7 months ago by BrandonXLF in topic Discuss link format

Template-protected edit request on 26 November 2021

edit

It would be very helpful if this template and {{Section move to}} included the |discuss= parameter capability so that discussion sections can be directly linked. Also, the default for the discuss link needs to be fixed, both should target the destination talk page. These templates are not protected (perhaps they should be?) but it would nevertheless be best that an experienced template editor consider and execute this change. Mdewman6 (talk) 22:46, 26 November 2021 (UTC)Reply

It's only used 21 times (at time of writing) so no protected is required I think. If you want to have a play around I have created Template:Section move from/sandbox. I have happy to double-check your code before deploying, just let me know when ready — Martin (MSGJ · talk) 13:23, 27 November 2021 (UTC)Reply
MSGJ, I have pulled the discuss parameters from {{merge from}} and {{merge to}} into Template:Section move from/sandbox and Template:Section move to/sandbox. Please see if this works as intended and I haven't messed anything else up, and implement if so. Thanks! Mdewman6 (talk) 19:36, 27 November 2021 (UTC)Reply
Also, I was mistaken, according to WP:Section move, the discussion is supposed to take place on the source page (being more like WP:SPLIT than WP:MERGE in this respect). I the edits I made above should reflect this. It's a bit confusing because the use of the "to" and "from" templates on source/destination pages are opposite for WP:Merge and WP:Section move (very helpful!) Mdewman6 (talk) 20:01, 27 November 2021 (UTC)Reply
I have made the changes, looks like it works, though perhaps not ideal. Anyone is free to improve. Mdewman6 (talk) 02:09, 5 December 2021 (UTC)Reply
edit

@Anomie I was referring to Template:Merge and Template:Split where are well established templates that use the "(Discuss)" link format rather than the built-in ambox one. Additionally, I don't even have permission to edit the former. BrandonXLF (talk) 18:12, 13 April 2024 (UTC)Reply