Open main menu

User:Adamtheclown/Extension:LinkSuggest

MediaWiki extensions manual
OOjs UI icon advanced.svg
LinkSuggest
Release status: stable
Description Autocompletes a wikilink
Author(s) Inez Korczynski, Bartek Lapinski, Ciencia al Poder
License No license specified
Download No link
Translate the Adamtheclown extension if it is available at translatewiki.net

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.

RequirementsEdit

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

InstallationEdit

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");

Known issuesEdit

See alsoEdit

Yahoo! User Interface (YUI) Javascript libraries extensions