Share to: share facebook share twitter share wa share telegram print page

Template talk:Merge

This talk page is for the discussion of the following templates:

Please be clear in your comments which template you are referring to.

Only some of these templates have been protected. But since these templates should work similarly, please discuss any changes on this talk page first. Any user can edit the documentation, add interwikis and categories, since as usual the /doc sub-pages are not protected.

Without reason

I suggest not displaying the output of the parameter "reason=" on the article page when this template is placed. The documentation doesn't include 'reason' as a parameter, yet this merge template will use it; a feature that some editors exploit. This is contrary to the merge process, which requires a discussion to be started on the talk page (Step 1; preferably of the intended target for the merge), not to add a reason in the template. This process is in place because it encourages the creation of a place for discussion to be coordinated, without the reason for the merge being separated from the discussion it is intended to provoke. To give an example, as of this version the 'reason' is display in the template at Fulwith Mill Lane, unnecessarily duplicating the case on the talk page. In other cases, editor neglect to start a case on the talk page. Klbrain (talk) 20:05, 2 October 2024 (UTC)[reply]

Added a TPER tag. --FaviFake (talk) 19:08, 12 August 2025 (UTC)[reply]

margin

Template talk:Merge#c-Klbrain-20241002200500-Without reason Gigako1981(talk). 22:12, 19 March 2025 (UTC)[reply]

Template-protected edit request on 12 August 2025

The templates {{Merge from}} and {{Merge from}} are the only merging/splitting templates that don't use boldface for the word "merged" and the (Discuss) link. See for example {{Split dab}}, {{Split}}, {{Being merged}}, {{Split section}}, {{Split sections}}, {{Cleanup split}}, {{Cleanup merge}}, {{Split portions}}, {{Split section portions}}, {{Section move from}}, {{Cleanup split}}, etc, they use the boldface for these cases. So my suggestion is:

It has been suggested that this page be merged with a page that has not been specified. If you are the editor who added this template, please specify. (Discuss)

becomes:

It has been suggested that this page be '''merged''' with a page that has not been specified. If you are the editor who added this template, please specify. ('''Discuss''')

Also, the template {{Merge to}} uses a bold (Discuss) link but doesn't bold "merged". This should be fixed as well. FaviFake (talk) 18:42, 12 August 2025 (UTC)[reply]

To editor FaviFake: curious... why do you show "The templates {{Merge from}} and {{Merge from}} are the ..." above? Did you mean "{{Split from}}" ("{{Split article}}")? P.I. Ellsworth , ed. – welcome! – 21:28, 12 August 2025 (UTC)[reply]
Nope, I just noticed that there are many more examples of split templates than there are for merge templates that are relevant for this TPER. These are just examples, feel free to ignore them; i just wanted to show the usual template formatting in these cases. I've sprinkled a couple of merge template examples too. FaviFake (talk) 22:32, 12 August 2025 (UTC)[reply]
 Completed. P.I. Ellsworth , ed. – welcome! – 00:36, 13 August 2025 (UTC)[reply]
Thanks!! FaviFake (talk) 10:22, 13 August 2025 (UTC)[reply]
Oh I just realised what you meant. I didn't notice I said "Merge from" twice. The second one was supposed to be "Merge and Merge from", but I forgot to remove the first "from". You still got all three though! FaviFake (talk) 11:01, 13 August 2025 (UTC)[reply]

Template-protected edit request on 2 September 2025: Add example text for template page

Currently the template page shows the template with an error and a missing parameter:

It has been suggested that this page be merged with a page that has not been specified. If you are the editor who added this template, please specify. (Discuss) Proposed since {{{date}}}.

I propose adding example text so that it says:

It has been suggested that this page be merged with another page. (Discuss) Proposed since September 2025.

(The date is dynamic. "another page" is unlinked, which I think is done automatically.)

I put my edit in the sandbox.

Update: Following Chrisahn's suggestion, I linked "another page" (diff):

It has been suggested that this page be merged with another page. (Discuss) Proposed since September 2025.

W.andrea (talk) 17:05, 2 September 2025 (UTC) updated 22:00[reply]

Good idea. A suggestion / correction: The words "another page" are not linked automatically, but they will be linked if you move the <noinclude> stuff into the {{Pagelist}} invocation, as in {{Merge from}}. I think it would be better to render the words as a link, even if it's a red link, because it gives a clearer impression of how the template will look in real life. — Chrisahn (talk) 20:35, 2 September 2025 (UTC)[reply]
Agreed FaviFake (talk) 20:37, 2 September 2025 (UTC)[reply]
That sounds good. Could you put it in the sandbox so I can see? I can't seem to get the syntax right. — W.andrea (talk) 21:42, 2 September 2025 (UTC)[reply]
BTW, another page is an actual article (an album), so change the verbiage please. — W.andrea (talk) 21:50, 2 September 2025 (UTC)[reply]
NVM, I got it! There was an #if I missed that was tripping me up. — W.andrea (talk) 21:55, 2 September 2025 (UTC)[reply]
Yeah, my idea of putting the dummy page name into the {{Pagelist}} invocation doesn't work as well as I thought, because the logic here is different than in {{Merge from}}. I noticed that you found a clever solution though. I implemented two other solutions, and I picked "Title of other page" as the dummy page name. See the history of Template:Merge/sandbox. But the effect is basically the same, it's a matter of taste. Feel free to revert my revisions, choose the code you prefer. I'd say the sandbox code can then be copied into the live template, but I don't know what the standard procedure is in such cases. Do we have to run more tests? Notify some project page? — Chrisahn (talk) 22:33, 2 September 2025 (UTC)[reply]
Minor quibble: You used ''another page'' as the page name, including the '' quotes. This generates a link to ''another page''. Quite a strange page title. :-) For some reason the quotes are removed from the link text when using {{Pagelist}}, but another page also links to ''another page'', not to another page. — Chrisahn (talk) 22:43, 2 September 2025 (UTC)[reply]
Yeah I just followed exactly what {{merge from}} did. IDK why the quotes, just wanted to make it consistent. Call it cargo cult programming if you want :p — W.andrea (talk) 00:50, 4 September 2025 (UTC)[reply]
I also simplified the {{#if {{{date|... stuff: Special:Diff/1309238180. — Chrisahn (talk) 22:59, 2 September 2025 (UTC)[reply]

choose the code you prefer.

It doesn't matter to me as long as some example text shows up. I'll let the reviewer decide :) — W.andrea (talk) 00:55, 4 September 2025 (UTC)[reply]

Other ideas

I think this change should also be applied to the main template as well. Sometimes, merges don't have a defined target, and i think a lack of parameter should be treated nicely, rather than as an error. FaviFake (talk) 18:10, 2 September 2025 (UTC)[reply]

Sorry, what main template? Are you confusing this with {{Merge from}}? (which shares documentation) — W.andrea (talk) 18:15, 2 September 2025 (UTC)[reply]
I expressed myself terribly; what I meant to say is: i think the {{merge}} template shouldn't show the error, even when used outside of its own template page, to accommodate cases where the destination is being debated. So it would say thi even on article pages:

It has been suggested that this page be merged with another page. (Discuss) Proposed since September 2025.

FaviFake (talk) 18:21, 2 September 2025 (UTC)[reply]
Oh, OK. That's another matter, so please start a new topic. — W.andrea (talk) 18:23, 2 September 2025 (UTC)[reply]
Yes, I agree. FWIW, i support the change you actually proposed. FaviFake (talk) 18:24, 2 September 2025 (UTC)[reply]
Thinking about it, this would affect many more templates, like merge from and merge to. It's likely not uncontroversial. FaviFake (talk) 18:23, 2 September 2025 (UTC)[reply]
I think the template should display an error if someone uses it and forgets to specify a page. Yes, sometimes a suggested merge has no target (yet), but I think that's pretty rare, and it's more likely that the user simply forgot. — Chrisahn (talk) 20:40, 2 September 2025 (UTC)[reply]
Yeah you're probably right. Maybe a parameter like "notarget=yes" could fix this? FaviFake (talk) 20:43, 2 September 2025 (UTC)[reply]
Good idea. Unfortunately, these templates haven't been converted to Lua modules yet, and adding this parameter would make the template code even less readable. But there are (were?) far worse templates, it shouldn't be too difficult to add it. — Chrisahn (talk) 20:45, 2 September 2025 (UTC)[reply]
Anyway, let's take one step at a time. Let's first finish this edit request, then maybe open another one about the error message / notarget parameter. Or maybe make the templates more consistent first? Or translate them to Lua? — Chrisahn (talk) 20:48, 2 September 2025 (UTC)[reply]
Yes, of course. I think the order should be: merge the duplicate templates, add notarget, then lua FaviFake (talk) 20:52, 2 September 2025 (UTC)[reply]
These templates are rather inconsistent in this respect. {{Merge from}}, {{Merge to}}, {{Merge}} – three very similar templates, three different ways to deal with missing parameters... I haven't checked other related templates. — Chrisahn (talk) 20:43, 2 September 2025 (UTC)[reply]
There are also {{Merging}} and {{Being merged}}, which do exactly the same thing. You might be interested in partecipating in this discussion I started to delete the less popular one: Wikipedia:Templates_for_discussion/Log/2025_August_24#Template:Merging_from FaviFake (talk) 20:50, 2 September 2025 (UTC)[reply]
After {{merging}} is deleted, we can try to merge these 3 that you mentioned! FaviFake (talk) 20:51, 2 September 2025 (UTC)[reply]
I don't they think they should be merged. I merely observed that they handle missing parameters differently, and it would be nice to make them more consistent in this regard. Merging them would be quite a different beast. :-) — Chrisahn (talk) 21:09, 2 September 2025 (UTC)[reply]
Right. For some reason I'm losing the ability to read lately! Thanks. FaviFake (talk) 21:11, 2 September 2025 (UTC)[reply]
I wrote "sometimes a suggested merge has no target (yet)", but that's not the point when {{Merge}} is used without a parameter. I don't know these templates very well, and I didn't really know what I was talking about. Template:Merge#Which merge template should I use? says: "To merge at least two pages together at an unspecified location, use {{Merge|OtherPage}}". So using {{Merge}} only makes sense if there is at least one other source page. The missing parameter is a missing source, not a missing target. A notarget=yes parameter might make sense for other merge templates, but not for {{Merge}}. {{Merge}} has a named target parameter, but it's optional. — Chrisahn (talk) 22:51, 2 September 2025 (UTC)[reply]
You're right! Thanks. FaviFake (talk) 10:00, 3 September 2025 (UTC)[reply]
Prefix: a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9

Portal di Ensiklopedia Dunia

Kembali kehalaman sebelumnya