Difference between revisions of "MatchByPrefix"

From Wiki4Intranet
Jump to: navigation, search
Line 1: Line 1:
{{Extension|templatemode=
+
[[Category:InitializeArticleMaybeRedirect extensions]]]
|name        = MatchByPrefix
+
 
|status      = beta
+
;Version: 2011-12-16
|type1      = interface
+
;MediaWiki: 1.14.0+
|hook1      = InitializeArticleMaybeRedirect
+
;License: GPL v2 or later
|username    = VitaliyFilippov
+
;Download: http://wiki.4intra.net/svn/mediawiki4intranet/extensions/MatchByPrefix
|author      = Vitaliy Filippov
+
|description = Redirects by page prefix
+
|image      = Indexexample.png
+
|version    = 2011-12-16
+
|mediawiki  = 1.14.0+
+
|license    = GPL v2 or later
+
|download    = http://wiki.4intra.net/svn/mediawiki4intranet/extensions/MatchByPrefix
+
}}__TOC__
+
  
 
== Usage ==
 
== Usage ==

Revision as of 18:03, 16 December 2011

]

Version
2011-12-16
MediaWiki
1.14.0+
License
GPL v2 or later
Download
http://wiki.4intra.net/svn/mediawiki4intranet/extensions/MatchByPrefix

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