URL shortener

This script will generate a short link on every page add a shortcut to it next to the title. To install this, place the code below on your personal common.js or on global.js. See Enabling scripts for more help. This user script originally created by Indic-TechCom for Wikimedia's Indic language wikis.

IMPORTANT: You must change YOURWIKI.miraheze.org to the URL of your wiki on line 8 of this script, otherwise, it will not work.

If this script doesn’t work, please make sure you have enabled the UrlShortener extension on your wiki.