MediaWiki extension ShortUrl
Diffusion extension-ShortUrl (master)
README
README
README for the ShortUrl extension Copyright © 2011 Yuvi Panda
Licenses: Modified BSD License
https://mediawiki.org/wiki/Extension:ShortUrl
Installing
Copy the ShortUrl directory into the extensions folder of your MediaWiki installation. Then add the following lines to your LocalSettings.php file (near the end):
require_once( "$IP/extensions/ShortUrl/ShortUrl.php" );
Configuration
$wgShortUrlTemplate specifies the template to use for the shorturl. $1 in the template is replaced with the ShortURL id. $wgServer is prepended before $wgShortUrlTemplate. Defaults to using the longer form (with Special:ShortUrl). Can be condensed down to use anything else, via mod_rewrite rules
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits