Extension:RelativePageLinks

RelativePageLinks shortens link titles on the current wiki page to relative paths, if possible. The current page name / url is used as a reference and will be substituted by. The RelativePageLinks extension uses JavaScript to do so therefore processes the end result that is generated by MediaWiki. This should ensure compatibility with all extensions.

This extension may come in handy if links are autogenerated and a short title can't be given. (e.g. links from SMW ASK query results)

Example: On the page  is a link to. The link title will be automatically shortened to.

Installation
Instead of downloading the zip archive you may also check this extension out via Git:

Configuration
There are no options.

Usage
Simply include and activate this extension and it should work.