User:Shahadat/easy-merge
Jump to navigation
Jump to search
Description | Redirect page and add merge templates to talk pages |
---|---|
Author(s) | Shahadat |
Updated | August 21, 2023 (11 months ago) |
Skin support | All desktop skins |
Source | User:Shahadat/easy-merge.js |
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:
- 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 project templates on talk page are reset with class=redirect, and importance parameter is removed.
- Any media request templates and any |media-needed= parameters of project 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:Shahadat/easy-merge.js'); // [[User:Shahadat/easy-merge.js]]
on your common.js or skin.js page.
See also
Script Attribution
![]() | This script was manually imported from Wikipedia in compliance with their CC-BY-SA license. This script is utilized either partially or in full, incorporating corrections, modifications, or imported from the original script. For details regarding the original script and its creator, please refer to the following link: https://en.wikipedia.org/wiki/User:SD0001/easy-merge |