Extension:CreateRedirect

CreateRedirect is a special page extension that eases creation of redirects. It displays a form that only asks for the origin page and the destination page, and then saves the page. It also adds a menu item to the side "toolbox" menu as a shortcut, and is able to pass through the current article's title through that shortcut to fill in the destination field automatically. It's convenient and great for batch edits!

Installation
This extension is made up of three files: Download these three files (be sure to rename them from  to  !) and place them in.
 * CreateRedirect.setup.php
 * CreateRedirect.body.php
 * CreateRedirect.i18n.php

Then, add the following to LocalSettings.php:

And that's it! The special page itself is accessible through Special:Createredirect.

Caveats

 * The page text is hardcoded in English right now; i18n messages aren't actually implemented at this time. All messages, however, are included in the i18n file.
 * This extension respects user permissions, but security is not thoroughly tested. It should work without a hitch, though. See source for details.
 * While this extension has not been thoroughly tested, it's proven sufficient for everyday use and is used live on my own wiki. Our wiki is relatively mid-low-traffic and your mileage may vary.
 * Although untested, this extension might work on previous MediaWiki versions.

May 11, 2007

 * No updates to the code itself, but the files above are back up and working. Sorry about that!

December 11, 2007

 * Minor
 * CreateRedirect.setup.php: Fixed "toolbox" menu link, where the link was directed to my server and wiki. Fixed to link locally to the Wiki that extension is installed on.

Licensing
This program, CreateRedirect, is Copyright (C) 2007 Marco Zafra. CreateRedirect is released under the GNU Lesser General Public License version 3.

Contact
Feel free to leave a message or any inquiries on my user talk page. This is probably the fastest way to contact me concerning this extension.

Development is primarily focused on my own needs and updates will be presented as appropriate. However, demand and urgent issues can sway me to provide updates, too. There are a lot of TODOs in the code, but as this extension is already sufficient for my own needs, they may not be addressed. If all else fails, write in some code yourself! I'd be happy to see any changes.