Extensión:LinkSuggest

From mediawiki.org
This page is a translated version of the page Extension:LinkSuggest and the translation is 100% complete.
Manual de extensiones de MediaWiki
LinkSuggest
Estado de lanzamiento: estable
Implementación Buscar
Descripción Provides the user with article title suggestions as they type a link in wikitext.
Autor(es)
Última versión 2.1.0 (2021-01-29)
MediaWiki 1.39+
Licencia GNU Licencia Pública general 2.0 o posterior
Descarga
  • $wgLinkSuggestFromNamespaces
Descargas trimestrales 20 (Ranked 120th)
Traduce la extensión LinkSuggest si está disponible en translatewiki.net
Asuntos Tareas abiertas · Reportar un bug

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

Instalación

  • Descarga y extrae los archivos en un directorio denominado «LinkSuggest» dentro de la carpeta extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/LinkSuggest
  • Añade el siguiente código en la parte final de tu archivo LocalSettings.php :
    wfLoadExtension( 'LinkSuggest' );
    
  • Yes Hecho – Navega a Special:Version en el wiki para verificar que la extensión se haya instalado correctamente.

Configuración

$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 ].

Extensiones relacionadas

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