Extension:ShortUrl

SpecialUrl 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.

As of MediaWiki 1.18 this function is available in core as Special:PermanentLink.

Installation

 * 1) Download a snapshot and extract it to your extensions directory.
 * 2) Add   to the bottom of LocalSettings.php.
 * 3) Redirects are available under Special:ShortUrl/.
 * 4) 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.

Caveats

 * You need some amount of js on the clientside to actually generate the short url and put it up somewhere. Check out ta wikipedia for an example by User:Logic

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

Licensing
ShortUrl is released under the GNU General Public License version 2.