Extension:LinkSuggest

Category:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
LinkSuggest
Release status: stableCategory:Stable extensions
Implementation SearchCategory:Search extensions
Description Provides the user with article title suggestions as they type a link in wikitext.
Author(s)
Latest version 2.1.0 (2021-01-29)
MediaWiki 1.43+Category:Extensions with manual MediaWiki version
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
  • $wgLinkSuggestFromNamespaces
Quarterly downloads 13 (Ranked 85th)
Translate the LinkSuggest extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions

The LinkSuggest extension suggests links to editors on edit view (?action=edit). Registered users are able to turn LinkSuggest off via Special:Preferences.

Installation

  • Download and move the extracted LinkSuggest folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/LinkSuggest
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'LinkSuggest' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

$wgLinkSuggestFromNamespaces

Array that defines a list of namespaces to get suggestions from if you don't type a namespace.

Default value:

$wgLinkSuggestFromNamespaces = [ NS_MAIN ];

Adding namespaces to this list will cause LinkSuggest to load suggestions from pages on those namespaces, when you don't type the namespace. This cause suggestions to get pages "Apple" and "Project:Apple" if you type "Appl" and $wgLinkSuggestFromNamespaces is [ NS_MAIN, NS_PROJECT ].

  • WikiEditor - Has similar functionality built in. Clicking on the link icon from the tool-bar shows a search box, typing into this will search the available pages. This extension is now bundled with MediaWiki.
Category:Extensions by Fandom Category:Link extensions
Category:All extensions Category:EditPage::showEditForm:initial extensions Category:Extensions by Fandom Category:Extensions in Wikimedia version control Category:Extensions included in Canasta Category:Extensions included in Fandom Category:Extensions included in Miraheze Category:Extensions included in Telepedia Category:Extensions included in WikiForge Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:GPL licensed extensions Category:GetPreferences extensions Category:Link extensions Category:Search extensions Category:Stable extensions