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.

Usage

 * 1) When installed redirects are available under Special:ShortUrl/.
 * 2) Links to redirects can be found in the Toolbox and under the heading (javascript only)

Configuration

 * 1) (Optional) Run populateShortUrlTable.php maintenance script. Fills the shorturl database table with entries for all namespace/title parts of all currently existing articles.
 * 2) Set $wgShortUrlTemplate to the template of the path for generating short URLs. $1 is replaced with the actual short url id.

May 07, 2011

 * Updated to use PathRouter. Easier mod_rewrite rules + works with server implementations that do not have a mod_rewrite equivalent.

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