Wikiwand AI

User:SD0001/easy-merge

From Wikipedia, the free encyclopedia

This is a script that makes the process of filling out the paperwork while merging articles a tad easier. Look for the menu item "easy-merge" in the "More" menu.

DescriptionRedirect page and add merge templates to talk pages
AuthorSD0001
UpdatedApril 6, 2026
    (3 months ago)
SkinsAll desktop skins
Quick facts Description, Author ...
easy-merge
DescriptionRedirect page and add merge templates to talk pages
AuthorSD0001
UpdatedApril 6, 2026
    (3 months ago)
SkinsAll desktop skins
SourceUser:SD0001/easy-merge.js
Close

The script is to be run from an article whose content has been merged to another article. A form window opens in which the name of the target article is to be entered. On submitting, following actions are performed:

  • current page is redirected to specified target, with {{R from merge}} tag, with a customisable edit summary
  • Any {{merge from|currentpage}} or {{being merged|currentpage}} on the target page is removed
  • {{merged-from}} is added to the talk page of target page
  • {{merged-to}} added to talk page of current page
  • Any WikiProject templates on talk page are reset with class=redirect, and importance parameter is removed.
  • Any media request templates and any |media-needed= parameters of wikiproject tags are removed.

All the above actions are optional and some may be skipped by unchecking a checkbox on the form window.

Installation

If you have the script-installer gadget, just click on the "Install" button in the infobox.

Otherwise, add the line

importScript('User:SD0001/easy-merge.js'); // [[User:SD0001/easy-merge.js]]

on your common.js or skin.js page.

Usage

To merge two articles, follow these steps:

  1. Copy all or some of the content from the source article and paste it in an appropriate location at the destination article. (If you think the merge is especially complex and will take you a long time to fully clean up, you can let other editors know by placing {{In use}} or {{Inuse-section}} atop the destination article or section.) Then, immediately publish your edit, even if it duplicates some parts or it looks messy. In your edit summary, include a link to the source article and to the AfD discussion (unless this is a bold merge):
    [[H:M|Merged content]] from [[SOURCEPAGE]]; see its history for [[WP:CWW|attribution]].
    
  2. Do any necessary rearranging and copy editing ideally in a second edit, to simplify attribution. In this edit, also remove any leftover {{Merge}}, {{Being merged}}, or {{In use}} templates from the destination article.
  3. Blank the source article whose content was just merged and replace it with a redirect
    • To do this more quickly, install the easy-merge script and reload the source article. Then, click the "easy-merge" link in the "Tools" section of your sidebar, enter the name of the destination article or section, and keep this option enabled:
      Redirect this page to the target page
      If you want to enable other options, read the optional step 5 below before clicking Submit.And that's it! You've successfully merged two articles!

Optional steps

  1. Tag the talk pages with the relevant notices for posterity.
    1. If the merge was not discussed at Articles for deletion (for example if it's a bold merge or if it was discussed elsewhere) you can optionally note that the merge has taken place by adding a tag to the articles' talk pages:
      • This action is performed automatically when using the easy-merge script; simply enable these two options and click Submit:
        Add {{merged-from}} to talk page of target page
        Add {{merged-to}} to talk page of this page
    2. However, if the merge was discussed at AfD and the {{Afd-merge from}} template is already on the destination's talk page, do not add another banner to the destination's talk page. However, you can optionally add a tag to the source article's talk page:
      • If you are using the easy-merge script, simply keep this option disabled:
        Add {{merged-from}} to talk page of target page
        You can optionally enable the other one, and then click Submit.

See also

Related Articles

Timelines

Top Qs

Fact Checks