Extension:MatchByPrefix

From Linux Web Expert

MediaWiki extensions manual
MatchByPrefix
Release status: unmaintained
File: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
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

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

  • <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>MatchByPrefix</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    require_once "$IP/extensions/MatchByPrefix/MatchByPrefix.php";
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>