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)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.phan
css
i18n
includes
js
maintenance
schemas
.gitignore
.gitreview
.jshintignore
.jshintrc
.phpcs.xml
.stylelintrc.json
.vimrc
CODE_OF_CONDUCT.md
Gruntfile.js
README
ShortUrl.alias.php
composer.json
extension.json
package-lock.json
package.json
redirect.htaccess

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
You can’t perform that action at this time.