AjaxRename

AjaxRename allows users to rename a page with out having to go to Special:MovePage every time. This script also includes an extra feature to delete the target pages (Available only to content moderators or higher).
== ==
== ==
The rename modal will show up when you click on any Special:MovePage link with a target. Using it is pretty self-explanatory. The modal will show you the page's move log and any warnings and any subpages of the page. Select one of the common rename reasons or type your own on the input. You can specify the reason further if you choose a common reason and input your own at the same time, which would result in: <common reason>: <further ellaboration>. Check the options you'd like to be applied to the rename and finally click the "Rename" button, or "Cancel" to close the modal. You can also press the to open the modal.
==== Custom rename reasons ====
To set custom rename reasons, you just need to add to the window.AjaxRename.renameReasons object using the syntax: 'reason to submit': 'reason to display',. Note you can use an object in the rename reasons to create reason groups. For example:
Note you can use an object in the rename reasons to create reason groups. To do this, you replace your reason to display with an object. The child object works exactly the same as the normal one, for example:
==== Auto-check options ====
Automatically checked checkboxes on the rename modal. leaveredirect specifies whether to leave a redirect behind in renaming. watch specifies whether to add the moved pages to your watchlist. movetalk specifies whether to rename the page's talk page, if it exists. movesubpages specifies whether to move the pages along with its subpages, if any exist. deletetargets specifies whether to attempt to delete the destination pages before renaming the page. And ignorewarnings specifies whether to ignore any warnings in the rename.
Note that to use leaveredirect and deletetargets you must be a content moderator or higher on most wikis. They will not show up without those rights.
window.AjaxRename = {
 check: {
 leaveredirect: true,
 watch: true,
 movetalk: true,
 movesubpages: true,
 deletetargets: true,
 ignorewarnings: true,
 }
};
=== Language configuration ===
Normally this script uses the user's language for the modal text. You can also set this to your own langauge through the lang parameter. For example:
window.AjaxRename = {
 lang: 'en',
};
===Keybindings===
The script normally will add a keybinding to open the modal to the page for the key . You can disable this setting the doKeybind parameter to false. For example:
window.AjaxRename = {
 doKeybind: false,
};
===Example configuration===
====Example configuration with all parameters====
===File notices===
Take note when moving files, they cannot be moved out of the file namespace. The new extension must also match the old one. If any of these conditions fail, the page will not be moved.
== Future updates ==
* Make the rename prompt a modal and give the user more moving options (move talk page, leave a redirect, etc.) - Done in the v0.6 release.
* Protect root pages feature?