Difference between revisions of "MatchByPrefix"

From Wiki4Intranet
Jump to: navigation, search
Line 1: Line 1:
[[Category:InitializeArticleMaybeRedirect extensions]]]
 
 
 
;Version: 2011-12-16
 
;Version: 2011-12-16
 
;MediaWiki: 1.14.0+
 
;MediaWiki: 1.14.0+
Line 17: Line 15:
 
require_once("$IP/extensions/MatchByPrefix/MatchByPrefix.php");
 
require_once("$IP/extensions/MatchByPrefix/MatchByPrefix.php");
 
</source>
 
</source>
 +
[[Category:InitializeArticleMaybeRedirect extensions]]

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