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

GitHub:

Note:
No localisation updates are
provided by translatewiki.net .

Hooks used
  • InitializeArticleMaybeRedirect

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 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.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.