(Translated by https://www.hiragana.jp/)
User:SD0001/easy-merge - Wikipedia Jump to content

User:SD0001/easy-merge

From Wikipedia, the free encyclopedia
easy-merge
DescriptionRedirect page and add merge templates to talk pages
Author(s)SD0001
UpdatedApril 26, 2020
    (4 years ago)
SkinsAll desktop skins
SourceUser:SD0001/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 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

[edit]

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.

See also

[edit]