Skip to content

Github mirror of MediaWiki extension ShortUrl - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

License

Notifications You must be signed in to change notification settings

wikimedia/mediawiki-extensions-ShortUrl

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

About

Github mirror of MediaWiki extension ShortUrl - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages