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.
ShortUrl
extensions/
cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ShortUrl
wfLoadExtension ( 'ShortUrl' );
populateShortUrlTable.php
$wgShortUrlTemplate