Difference between revisions of "MatchByPrefix"
From Wiki4Intranet
Line 1: | Line 1: | ||
+ | ;Description: Redirects by page prefix | ||
;Version: 2011-12-16 | ;Version: 2011-12-16 | ||
;MediaWiki: 1.14.0+ | ;MediaWiki: 1.14.0+ | ||
;License: GPL v2 or later | ;License: GPL v2 or later | ||
;Download: http://wiki.4intra.net/svn/mediawiki4intranet/extensions/MatchByPrefix | ;Download: http://wiki.4intra.net/svn/mediawiki4intranet/extensions/MatchByPrefix | ||
+ | ;Link on MediaWiki.org: [[mediawikiwiki:Extension:MatchByPrefix]] | ||
== Usage == | == Usage == |
Revision as of 18:04, 16 December 2011
- Description
- Redirects by page prefix
- Version
- 2011-12-16
- MediaWiki
- 1.14.0+
- License
- GPL v2 or later
- Download
- http://wiki.4intra.net/svn/mediawiki4intranet/extensions/MatchByPrefix
- Link on MediaWiki.org
- mediawikiwiki:Extension: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");