MatchByPrefix

From Wiki4Intranet
Revision as of 17:58, 16 December 2011 by VitaliyFilippov (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
MediaWiki extensions manual - list
MatchByPrefix

Release status: beta

220px
Implementation User interface
Description Redirects by page prefix
Author(s) Vitaliy Filippov (VitaliyFilippovTalk)
Last version 2011-12-16
MediaWiki 1.14.0+
License GPL v2 or later
Download http://wiki.4intra.net/svn/mediawiki4intranet/extensions/MatchByPrefix
Hooks used
InitializeArticleMaybeRedirect

Usage

The extension redirects user to a page having prefix equal to the one specified in URL, if the URL itself does not point to a page and if only one matching page exists

Installation

Download the files from SVN into the extensions directory of your wiki and add the following to LocalSettings.php:

require_once("$IP/extensions/MatchByPrefix/MatchByPrefix.php");