User:Andy M. Wang/closeRM
Appearance
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]- Edit the requested move discussion section on the talk page.
- At the top, near the 'move' button, click the "RM close" button.
- 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:
- Replace {{Requested move/dated}} with a regex? instead of scanning through all lines (in general, make less resource-intensive)
- Allow closing RMs in read/view mode (like EPH)
- Be more smart about when the put "RM close" as an option (ns awareness?)
- 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.
- Perhaps integrate with User:Andy M. Wang/pageswap