Extension:RelativeURLs

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
RelativeURLs

Release status: stable

Implementation Extended syntax
Description Add support for [relative:<relative URL>] URLs to compliment [<absolute URL] syntax
Author(s) ThisismeTalk
Last version v1.01 (29th October 2010)
MediaWiki v1.15.1+
License GPL v2 (As mediawiki)
Download Here

Check usage (experimental)

Contents

[edit] What can this extension do?

Adds support for relative URLs, to compliment the exiting "["/"]" linking support

[edit] Usage

MediaWiki supports:

  [<url> <label>]

which allows the use of:

  [http://www.test.com My WWW site]

This extension extends this to additionally support:

  [relative:../../somewhere/page/elsewhere.htm A location relative to this Wiki article]


[edit] Download instructions

Download using the link in the (top right) infobox above

[edit] Installation

Extract the ZIP file contents into your MediaWiki directory.

Run:

patch -p0 < patch_Parser.diff

(Note: Most Unix/Linux systems should come with patch, for MS Windows, you can use a copy from the GNU utilities for Win32)

This should patch the following files:

  • includes\parser\Parser.php
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox