Extension:LinkSuggest
Appearance
LinkSuggest Release status: stable |
|
---|---|
Implementation | Search |
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.39+ |
License | GNU General Public License 2.0 or later |
Download | |
|
|
Quarterly downloads | 16 (Ranked 119th) |
Translate the LinkSuggest extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The LinkSuggest extension suggests links to editors on edit view (?action=edit). Registered users are able to turn LinkSuggest off via Special:Preferences.
Installation
[edit]- Download and move the extracted
LinkSuggest
folder to yourextensions/
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' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration
[edit]- $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 ]
.
Related extensions
[edit]- 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.
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
Categories:
- Stable extensions
- Search extensions
- GPL licensed extensions
- Extensions in Wikimedia version control
- EditPage::showEditForm:initial extensions
- GetPreferences extensions
- All extensions
- Extensions included in Canasta
- Extensions included in Fandom
- Extensions included in Miraheze
- Extensions included in Telepedia
- Extensions included in WikiForge
- Extensions by Fandom
- Link extensions