Extension:ShortUrl

ShortUrl is a special page extension that helps create shortened URLs for wiki pages, using their base36 encoded IDs. Adds a 'Short URL' link to the Toolbox. Primarily developed for use in the Indic Language Wikipedias.

Installation

 * 1) Download a snapshot and extract it to your extensions directory.
 * 2) Add the following to the bottom of your LocalSettings.php
 * 3) (Optional) Run populateShortUrlTable.php maintenance script. Fills the shorturl database table with entries for all namespace/title parts of all currently existing articles.
 * 4) Redirects are available under Special:ShortUrl/.
 * 5) Set $wgShortUrlPrefix to whatever prefix you want before the shortID in the toolbox. Example: '/wiki/Special:ShortUrl/'. Needs special care if using with mod_rewrite.

Nov 26, 2011

 * Fixed changes suggested by Roan on code review

May 27, 2011

 * Modified to include Wikitech list comments on the same, pending code review.

April 12, 2011

 * Add support for arbitrary prefixes in toolbox (Support for mod_rewrite based shortening)
 * Add 'Short URL' link to Toolbox.

April 1, 2011

 * Initial Release