Extensión:LinkSuggest

This page is a translated version of the page Extension:LinkSuggest and the translation is 100% complete.
Extensión matemática MediaWiki
OOjs UI icon advanced-invert.svg
LinkSuggest
Estado de lanzamiento estable
LinkSuggestExample.png
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.35+
Licencia GNU Licencia Pública general 2.0 o posterior
Descarga
  • $wgLinkSuggestFromNamespaces
Traduce el LinkSuggest extensión si es 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/.
  • Añade el siguiente código en la parte final de tu LocalSettings.php :
    wfLoadExtension( 'LinkSuggest' );
    
  •   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.