User:Adamtheclown/Extension:LinkSuggest

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

Release status: stable

Description Autocompletes a wikilink
Author(s) Inez Korczynski, Bartek Lapinski, Ciencia al Poder
License No license specified
Download No link

Template:Wikia

Adding wikilinks to an article is generally easy. But what happens when you don't know the exact capitalization, or wording of an article name?

Within the edit box, this extension adds a link suggestion feature that will suggest article names based on what you type.

When you start typing a "[[" and then some text, the wiki will suggest some articles that may be what you're looking for. The suggestions are based on existing article names within your wiki. In addition, if you type "[[File: " and then some text, the wiki will suggest existing image names from your wiki.

Contents

[edit] Requirements

  • Requires YUI (Yahoo User Interface JS Framework).[1]

[edit] Installation

Downloading the 3 files
  1. Go to the trac.wikia-code.com page
  2. click the three links
    1. LinkSuggest.i18n.php,
    2. LinkSuggest.js,
    3. LinkSuggest.php
  3. At the bottom of all three pages is Download in other formats: Plain Text
  4. Click the Plain Text links and save these three files.
Uploading the 3 files and updating localsettings.php
  1. Add these three new downloaded files to a new folder called LinkSuggest.
  2. Drag and drop the folder to the /extensions folder in your wiki.
  3. In localsettings.php add:
require_once("$IP/extensions/LinkSuggest/LinkSuggest.php");

[edit] Known issues

[edit] See also

Yahoo! User Interface (YUI) Javascript libraries extensions
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox