GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Get MediaWiki
  • Get extensions
  • Tech blog
  • Contribute
  • User help
  • FAQ
  • Technical manual
  • Support desk
  • Communication
  • Developer portal
  • Code statistics
  • Community portal
  • Recent changes

This view

  • Original page
  • New address

GeezerVison is showing www.mediawiki.org — Extension:TitleKey - MediaWiki

MediaWiki extensions manual
TitleKey
Release status: stable
Implementation Search
Description Provides a case-insensitive page title prefix search
Author(s) Brooke Vibbertalk
Latest version continuous updates
MediaWiki 1.25+
Database changes Yes
Tables
  • titlekey
Hooks used
  • LoadExtensionSchemaUpdates
  • PageDeleteComplete
  • PageMoveCompleting
  • PageSaveComplete
  • PageUndeleteComplete
Licence GNU General Public License 2.0 or later
Download
Download extension
Git [?]:
  • Browse repository (GitHub)
  • Gerrit code review
  • Git commit log
  • Download source tarball

README
Translate the TitleKey extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The TitleKey extension provides a case-insensitive page title prefix search. It uses a separate table for the keys so that it can be deployed without an expensive rebuild of core tables and uninstalled later in preference for a different search extension such as CirrusSearch .

For the average site administrator, the benefit of this extension is that it allows search suggestions (e.g., from Opensearch API) to be case-insensitive.

This extension is incompatible with CirrusSearch .

Installation

  • Download and move the extracted TitleKey folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleKey
    
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'TitleKey' );
    // For MW 1.43.0 and above, no further configuration is needed.
    
    // For MW 1.42.x (use SearchEngineMySQL, SearchEnginePostgres, or SearchEngineSqlite depending on your $wgDBtype)
    $wgSearchType = MediaWiki\Extension\TitleKey\SearchEngineMySQL::class;
    
    // For MW 1.39.x to 1.41.x
    $wgSearchType = MediaWiki\Extension\TitleKey\SearchEngine::class;
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Maintenance

The RebuildTitleKeys maintenance script can be used at any time to rebuild the title index (this requires command-line access):

$ path/to/mediawiki/maintenance/run.php RebuildTitleKeys

Or, for MediaWiki before 1.40:

$ php path/to/mediawiki/extensions/TitleKey/maintenance/rebuildTitleKeys.php
This extension is included in the following wiki farms/hosts and/or packages:
  • BlueSpice
  • Miraheze
  • ProWiki
Retrieved from "https://www.mediawiki.org/w/index.php?title=Extension:TitleKey&oldid=8371883"
Categories:
  • Stable extensions
  • Search extensions
  • LoadExtensionSchemaUpdates extensions
  • PageDeleteComplete extensions
  • PageMoveCompleting extensions
  • PageSaveComplete extensions
  • PageUndeleteComplete extensions
  • GPL licensed extensions
  • Extensions in Wikimedia version control
  • All extensions
  • Extensions included in BlueSpice
  • Extensions included in Miraheze
  • Extensions included in ProWiki
Hidden categories:
  • Extensions without an image
  • Extensions without a compatibility policy
  • Extensions with manual MediaWiki version
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.