User:Shahadat/closeRM
Jump to navigation
Jump to search
closeRM is a script that helps a user to close requested move discussions. Similar to User:Shahadat/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:Shahadat/closemrv.js, modified from User:Shahadat/closedrv.js .
To use this script: Copy the line below, then [[click here]], paste the line, and hit Publish changes.
{{subst:Iusc|User:Shahadat/closeRM.js|User:Shahadat/closeRM}}
- Report any issues to me, Shahadat. 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 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
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:Shahadat/pageswap
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:Andy_M._Wang/closeRM |