MassRename provides a link to a modal (without changing location) which allows the user to list pages to be moved.
Note: to prevent abuse, this script can only be used by users in certain usergroups (such as administrator and bot).
Each line is split into two (by finding the space) where the first half is the page that we want to move from, and the second half is the page to move to. So for example if you wanted to move Foo to Bar in one line, you would put "Foo Bar". For pages that contain spaces, you need to use underscores to rename them (e.g. "Page_One Page_Two" would move "Page One" to "Page Two").
By default, the script will rename one page per second. If you'd like to modify that, add the config massRenameDelay before importing the script with your own number (in milliseconds) instead, as shown in the script install example. As well as this, the default edit summary is "automatic" - if you'd like to add that, add the config massRenameSummary before importing the script with your own summary, as shown in the script install example.
It is strongly recommended that you are using an account that has a bot flag when using this script excessively, as excessive renaming can flood the recent changes/wiki activity.
The option to use the Mass Rename script will appear under your "My Tools" list (the toolbar at the bottom of your screen).