Extension talk:TitleKey/Archive

How to install
How is this extension installed? I placed: ( require_once( "$IP/extensions/Titlekey/titlekey.php" ); ) into the localsettings.php and got this error when trying to make a new page: A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

(SQL query hidden)

from within function "TitleKey::setBatchKeys". MySQL returned error "1146: Table 'wiki.titlekey' doesn't exist (localhost)". Matt 13:12, 6 May 2008 (UTC)
 * You should run queries from  - VasilievVV 13:39, 6 May 2008 (UTC)

How? We're not all experts here and it's frustrating with this kind of documentation. :(
 * → Manual:FAQ/Running PHP and SQL queries

How get it working
I installed the extension successfully and did run php rebuildTitleKeys.php:

MediaWiki: 1.12.0 PHP: 5.2.6 (apache2handler) MySQL: 5.1.23-rc Installierte Erweiterungen TitleKey Hintergrundprozess für die Titelsuche Brion Vibber $wgUseAjax = true; But nothing happens, when i type something into the search-field... any ideas?--Nolispanmo 10:58, 26 May 2008 (UTC)

+1
Same here. I tried to install it on Russian version of wiki. Ran php rebuildTitleKeys.php. Table seems to fill normally. But search form doesn't have new functionality. =(
 * I have the same problem, installed MW1.13, MySQL 5.0.5, PHP5.2.6 (apache2). I ran titlekey.sql, update.php, rebuildall.php, rebuildtitlekeys.php, clear cache, close, restart, IE, Firefox, but nothing.  Could it be because there is a table prefix?  An answer would be very much appreciated. Txs. --142.206.2.12 16:58, 23 August 2008 (UTC)

MediaWiki 1.13 & TitleKey is not working
I have the same problem with Titlekey extension. I use MediaWiki 1.13 and installed the extensions inclusive the update script for the database. The parameter $wgUseAjax is true and the result is that nothing happens. Is there something else to do? --82.113.113.161 09:14, 4 September 2008 (UTC)

I've got same problem. MW 1.13.1 --193.0.96.15 12:48, 3 October 2008 (UTC)

I've got the same problem. MW 1.13.1. Installed as directed, table rebuild seems to work. No drop down suggestion box. What am I missing? Does this only work on 1.12? 99.154.200.21 02:46, 13 December 2008 (UTC)
 * See section suggest search terms. You don't need "TitleKey" for that. --Nolispanmo 08:20, 15 December 2008 (UTC)

suggest search terms
no suggestion search field?
 * 1) you don't need the TitleKey-extension to activate the search field suggestion
 * 2) open the file : LocalSettings.php
 * 3) set $wgEnableMWSuggest = true;
 * 4) Greetings --Nolispanmo 14:12, 9 October 2008 (UTC)


 * Thx! That's it! --92.75.2.106 18:26, 11 October 2008 (UTC)

Needed in MediaWiki 1.14?
The purpose of TitleKey remains a bit unclear, please add an explanation to the description page. We use MW 1.14 (SVN) and have NOT installed either it or MWSearch. We can search case-insensitively for page titles. What does TitleKey add? I guess the "prefix" in "title prefix search plugin" has a special meaning, please help to explain it. --Vigilius 22:12, 28 July 2008 (UTC)


 * I thought TitleKey adds case-insensitivity to autocomplete-search --Heiko Haller 10:12, 15 December 2008 (UTC)


 * But actually MediaWiki (at least v1.14) has already a case-insensitive search suggest. Weird... I'd like to know more about it, too. --62.214.240.39 01:37, 12 May 2009 (UTC) (Rob)


 * No, it doesn't. Create the page "caS e. seNsiTive" on your wiki and enter "cas" into the search box; you'll see that the autosuggest magic vanishes as soon as you enter a letter that's the wrong case (except the first letter in the search) if you don't have TitleKey. —Emufarmers(T 02:23, 12 May 2009 (UTC)


 * I confirm, this is correct even for current 1.16. The first word seems to behave more or less case insensitive (more than first letter!), the next word is fully case sensitive without TitleKey installed.--Vigilius 11:29, 1 June 2009 (UTC)

Any more tasks? (Resolved)
I have installed the extension and it works fine - but do I need to run the script periodically to update the index?--Teamghost


 * No, it will automatically update whenever an article is created, deleted, undeleted, or moved. —Emufarmers(T 05:24, 20 June 2009 (UTC)


 * Thanks --Teamghost 08:38, 22 June 2009 (UTC)

Titlekey only for logged in users?
Titlekey runs fine for me as long as I am logged in. As soon as I log out it doesn't seem to work anymore. Is this intentional? Is there a solution for that?

This problem could be caused by the extension called simple security. That conflicts with titlekey/search suggest for anonymous users. --213.214.100.10 09:13, 19 August 2009 (UTC)

That was exactly it. Thanks!

How to run rebuildTitleKeys.php with no shell access?
Hi! I´m on a shared server, and I can´t run this php... any help here? thanks!

Getting error when using "php rebuildTitleKeys.php"
php rebuildTitleKeys.php Content-type: text/html

Sorry! This version of MediaWiki requires PHP 5; you are running 4.4.9.

If you are sure you already have PHP 5 installed, it may be installed in a different path from PHP 4. Check with your system administrator. - Why does it tell me that? I'm running PHP 5.2.8, any fix to this problem?

Currently running; MediaWiki 	1.15.1 PHP 	5.2.8 (cgi-fcgi) MySQL 	5.0.67.d7-ourdelta-log

Appreciate help :-) --Tab

Work only in Firefox?
Sorry, I found an error from my customized template.

--Adc mike 09:09, 16 November 2009 (UTC)