Extension:TitleKey

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
TitleKey

Release status: stable

Implementation Search
Description Title prefix search suggestion backend
Author(s) Brion Vibber (Brion VIBBERTalk)
Last version continuous updates
MediaWiki 1.12+
Database changes yes
License GPL v2 or later
Download Download snapshot
Subversion [Help]

Browse source code
View code changes

README
CHANGELOG

Hooks used
ArticleDelete

ArticleDeleteComplete
ArticleInsertComplete
ArticleUndelete
TitleMoveComplete
ParserTestTables
LoadExtensionSchemaUpdates
PrefixSearchBackend
SearchGetNearMatch

Check usage (experimental)
Bugs: list open list all report

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 Extension:LuceneSearch (pre 1.13) or Extension:MWSearch (1.13+).

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. Add to the end of LocalSettings.php:
    require_once("$IP/extensions/TitleKey/TitleKey.php");
    $wgEnableMWSuggest = true;
  3. Add the required tables to the database; on the command line, enter:
    php maintenance/update.php
    (Note: Your designated database user needs to have CREATE rights on your MediaWiki database.)
  4. Run the rebuildTitleKeys.php script; on the command line, enter:
    php extensions/TitleKey/rebuildTitleKeys.php
  5. Installation can now be verified through Special:Version on your wiki


Language: English  • Français
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox