Extension:QuickLink

QuickLink provides two efficient ways to search and insert internal links when editing a page:
 * Typing '[[' in the textbox will trigger a search, showing the matching pages in your wiki as you type. Selecting a result inserts a link to the selected page.
 * Also, search can be also triggered by pressing . The search field will be then focused, allowing you to navigate results using the arrow keys and select one using.

You can see a live demo here.

Usage
To perform a search follow these instructions:


 * 1) Go to the search box by:
 * 2) * clicking in the search box
 * 3) * pressing
 * 4) Type a string contained in the title of the page you want to link. It doesn't need to be the first word in the title.
 * 5) When the results are shown:
 * 6) * click one of them
 * 7) * use the arrows and press
 * 8) Cancel search and go back to the textbox anytime by pressing

Also, inline search can be performed while writing in the textbox:


 * 1) Enter the internal link sequence '[[' to trigger the search
 * 2) Type the search string
 * 3) Results will be shown in the search area as you type
 * 4) When search is complete:
 * 5) * Navigate results using the  and   arrows  and insert selected result by pressing   or the   arrow.
 * 6) * Insert any result by clicking on it.
 * 7) Cancel search anytime by pressing , the   arrow key or entering the internal link closing sequence ']]'

Installation

 * 1) Download the latest version from http://subtrama.net/quicklink/.
 * 2) Extract the files and put them in  .  Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.
 * 3) Add the line   to your LocalSettings.php

Known issues
Caret behaves strangely in IE in version 0.7 when inserting a link.

Changelog

 * Version 0.7
 * (Incomplete) IE support
 * Improved navigation: ']' and arrow keys cancel in-text search
 * Search extended to all namespaces
 * Searchbox appearance in WebKit
 * Version 0.6
 * Search results can be selected with the arrows
 * Pressing enter now selects the highlighted result
 * New theme
 * Version 0.5
 * Search box in the toolbar
 * Search triggered with CTRL+Enter and writing the '[[' sequence in the textarea

Credits
The code is based in the extension written by Adam Meyer,  Link Suggest. Also thanks to Simon Litt, Robinson Weijman and Pasi Kallinen for the comments and code.