Open main menu

Extension:MatchByPrefix

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.