Extension:MatchByPrefix

From mediawiki.org
MediaWiki extensions manual
MatchByPrefix
Release status: unmaintained
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

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 file:
    require_once "$IP/extensions/MatchByPrefix/MatchByPrefix.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.