Difference between revisions of "MatchByPrefix"

From Wiki4Intranet
Jump to: navigation, search
 
(No difference)

Revision as of 18:02, 16 December 2011

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");