Extension talk:LinkSuggest

From mediawiki.org
Jump to navigation Jump to search

appreciate leaving the redirect[edit]

I am actively working to make this extension work for mediawiki. If after a month it is not working, then i will ask for this redirect to user space be deleted.

The link itself is used a few places outside of wiki, and deleting the redirect will break these links.

In addition there is always the concern that someone will come along and recreate this page with another extension but same name.

At the minimum if someone deletes this redirect, please add the new page this redirects too: User:Adamtheclown/Extension:LinkSuggest

Thank you. Adamtheclown 22:32, 18 January 2011 (UTC)[]


Is this compatible with MW 1.18 using the bundled WikiEditor extension ? I would really like to have link suggest on my new project but i dont know wich one is compatible. This one is the one i prefer because the suggestion appear in the edit box. TulipVorlax 23:22, 30 December 2011 (UTC)[]

Does not seem to work with Wiki Editor[edit]

I'm using the MW 1.20 version of Wiki Editor (on MW 1.20.4), and not only does this extension not seem to work like it should, it makes the Find/Replace option disappear from the WikiEditor.

Arcane21 (talk) 09:28, 8 May 2013 (UTC)Arcane21[]

MW 1.25.1 fixes[edit]

While installing the MW 1.25.1 on my local system I found LinkSuggest not working properly.


  • XAMPP 1.8.3 Windows 7x64
  • php 5.5.6
  • MySQL 5.6.14
  • Using the WikiEditor with no gadgets/enhancements.
  • Using LinkSuggest 1.8.1 (HEAD from 05/01/2015)

On the two MySQL queries in LinkSuggest.class.php, columns are converted using LOWER(). Both columns, qc_title and page_title are varbinary fields. According to the MySQL reference, binary strings are not acknowledged by LOWER() which always results in an empty search result.

Workaround/fix: use CONVERT() to convert the binary string into non-binary.

$res = $dbr->select(
	array( 'page_namespace', 'page_title' ),
		'LOWER(CONVERT(page_title USING utf8))' . $dbr->buildLike( $query, $dbr->anyString() ),
		'page_is_redirect' => 0,
		'page_namespace' => $namespaces
		'ORDER BY' => 'page_title ASC',
		'LIMIT' => ( 15 - count( $results ) )

— Preceding unsigned comment added by Dominik Maus (talkcontribs)

Dominik has not submitted this fix to the repo, so I've done it. I've also tested the patched extension on MW 1.23.9 without issue. (To clarify the error report, when not converting the input LinkSuggest doesn't always appear when expected and its queries sometimes fail, resulting in limited or no functionality.) —Oznogon (talk) 16:46, 19 July 2015 (UTC)[]
Gerrit change 225715 is now merged on master. No backport has been made to stable releases yet --Ciencia Al Poder (talk) 14:48, 21 February 2016 (UTC)[]

bug: unknown function LinkSuggest::get[edit]

Hi folks,

LinkSuggest does not work for my Mediawiki 1.26.0 (user: "Markus Müller" and pass "m"), with the current LinkSuggest checkout. The API call /index.php?action=ajax&rs=LinkSuggest%3A%3Aget&query=test gets Bad Request unknown function LinkSuggest::get. can you help me? thx & greetz VanGore (talk) 13:20, 1 March 2016 (UTC)[]

The tag 1.26 of the extension hasn't been updated with latest fixes, it seems. However, it has been fixed on master, so try downloading the "master" version (latest development release) of LinkSuggest from Extension Distributor, that should work fine on 1.26 --Ciencia Al Poder (talk) 10:33, 2 March 2016 (UTC)[]

thx;) that helped VanGore (talk) 13:05, 3 March 2016 (UTC)[]