Extension:LinkSuggest/de

From Linux Web Expert

MediaWiki-Erweiterungen
LinkSuggest
Freigabestatus: stabil
File:LinkSuggestExample.png
Einbindung Suche
Beschreibung Provides the user with article title suggestions as they type a link in wikitext.
Autor(en)
Letzte Version 2.1.0 (2021-01-29)
MediaWiki 1.39+
Lizenz Keine Lizenz angegeben
Herunterladen
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Übersetze die LinkSuggest-Erweiterung, wenn sie auf translatewiki.net verfügbar ist
Probleme Offene Aufgaben · Einen Fehler melden

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

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/LinkSuggest/de</tvar>|Download]] and move the extracted <tvar name=name>LinkSuggest/de</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/LinkSuggest%2Fde
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'LinkSuggest/de' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Konfiguration

$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

  • 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.