Extension:ShortLinksParser

What can this extension do?
If you're linking often to the same external sources you have always to repeat certain parts of the URL which remain the same. This extension introduces a possibility to shorten this notation by providing reusable base-urls with placeholders.

Usage
E.g. you have a lot of links to wikipedia, you would have to write again and again:

http://en.wikipedia.org/wiki/A_PAGE

and again

http://en.wikipedia.org/wiki/ANOTHER_PAGE.

Using the ShortLinksParser-Extension the result might be:

and

whereas the ShortLink Wikipedia is replaced by http://en.wikipedia.org/wiki/.

Configuring a ShortLink is as easy as filling an associative array, which you find

For the Wikipedia example

Download instructions
Please cut and paste the code found below and place it in  and. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php: