Extension:TitleKey

From MediaWiki.org

Jump to: navigation, search

         

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
TitleKey

Release status: stable

Implementation  Search
Description Title prefix search suggestion backend
Author(s)  Brion Vibber
MediaWiki  1.12
License GPL v2 or later
Download Download snapshot

Subversion [Help]
Browse source code

log

check usage (experimental)

TitleKey extension is a case-insensitive title prefix search plugin by Brion Vibber. It uses a separate table for the keys, so if it works cleanly it can be deployed without an expensive rebuild of core tables, and dumped when Wikimedia gets a nicer backend through lucene.

For the average site administrator, the benefit of this extension is that it allows search suggestions (enabled through $wgEnableMWSuggest) to be case-insensitive.

[edit] Installation

  1. Download the files from SVN or download a snapshot (select your version of MediaWiki) and place the files under $IP/extensions/TitleKey
  2. Run the queries from titlekey.sql (if using MySQL) or from titlekey.pg.sql (if using PostgreSQL); on the command line, enter:
    mysql -u youruser -p --database=yourdatabase < titlekey.sql
  3. Run the rebuildTitleKeys.php script; on the command line, enter:
    php rebuildTitleKeys.php
  4. Add to the end of LocalSettings.php:
    require_once("$IP/extensions/TitleKey/TitleKey.php");
    $wgEnableMWSuggest = true;
  5. Installation can now be verified through Special:Version on your wiki


This extension is being used on one or more of Wikimedia's wikis. It means that the extension is stable and works well enough to be used by such high traffic websites. A full list of the extensions installed on a particular wiki is produced by Special:Version on that wiki.