Extension:MatchByPrefix

From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
MatchByPrefix
Release status: unmaintained
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

Check usage and version matrix.

Usage[edit]

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[edit]

  • 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";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.