Jump to content

User:Andy M. Wang/closeRM

From Wikipedia, the free encyclopedia

closeRM is a script that helps a user to close requested move discussions. Similar to User:Armbrust/closemrv.js for move review closes, this script will add a "RM close" tab to the top of the page when the Requested move section itself is being edited.

The script is largely based on User:Armbrust/closemrv.js, modified from User:Lifebaka/closedrv.js written by User:Johnleemk and modified by User:Lifebaka.

To use this script: Copy the line below, then [[click here]], paste the line, and hit Publish changes.

  • {{subst:Iusc|User:Andy M. Wang/closeRM.js|User:Andy M. Wang/closeRM}}
  • Report any issues to me, Andy M. Wang. Feedback is always welcome. Feel free to copy and change this code as necessary (I'm not a JavaScript guru), but feel free to let me know as well.

Usage

[edit]
  1. Edit the requested move discussion section on the talk page.
  2. At the top, near the 'move' button, click the "RM close" button.
  3. Enter the closing reason, click OK, and the script outputs the necessary changes to close the discussion. Check the diff, and save the page.

Future goals

[edit]

Ordered by priority:

  1. Replace {{Requested move/dated}} with a regex? instead of scanning through all lines (in general, make less resource-intensive)
  2. Allow closing RMs in read/view mode (like EPH)
  3. Be more smart about when the put "RM close" as an option (ns awareness?)
  4. The RM close removes the {{Requested move/dated}} template that contains a helpful move link. If the close is performed prior to the move, makes sense to follow-up with a semi-automated move.