Open main menu

Extension:MatchByPrefix

MediaWiki extensions manual
OOjs UI icon advanced.svg
MatchByPrefix
Release status: beta
Indexexample.png
Implementation User interface
Description Redirects by page prefix
Author(s) Vitaliy Filippov (VitaliyFilippovtalk)
Latest version 2011-12-16
MediaWiki 1.14.0+
License GNU General Public License 3.0 or later
Download http://wiki.4intra.net/svn/mediawiki4intranet/extensions/MatchByPrefix
Translate the MatchByPrefix extension if it is available at translatewiki.net
Check usage and version matrix.

Contents

UsageEdit

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

InstallationEdit

  • Download and place the file(s) in a directory called MatchByPrefix in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/MatchByPrefix/MatchByPrefix.php";
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.