User:SD0001/easy-merge

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

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: All the above actions are optional and some may be skipped by unchecking a checkbox on the form window.
 * current page is redirected to specified target, with tag, with a customisable edit summary
 * Any or  on the target page is removed
 * is added to the talk page of target page
 * 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.

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

Otherwise, add the line  on your common.js or skin.js page.