Extensión:SearchBlox

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:SearchBlox and the translation is 15% complete.

Other languages:
English • ‎español • ‎polski • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
SearchBlox
Release status: beta
Implementación User interface, Search
Descripción Queries a SearchBlox server when there are only a few search matches
Autor(es) Michael Overmeyer (Movermeyertalk)
Última versión 0.1.0 (2013-04-19)
MediaWiki 1.18+
Cambios de la base de datos No
Licencia GNU General Public Licence 2.0
Descarga
README
Commits
Ejemplo The Warrior Wiki
Parámetros

  • $wgSearchBloxOrganizationName
  • $wgSearchBloxOrganizationWebsite
  • $wgSearchBloxHost
  • $wgSearchBloxServletUrl
  • $wgSearchBloxFrontendUrl
Hooks que usa
SpecialSearchResults
SpecialSearchNoResults
ResourceLoaderGetConfigVars
Translate the SearchBlox extension if it is available at translatewiki.net
Verificar uso y versión de la matriz.

The SearchBlox extension will query a SearchBlox Server and show the results if your normal search would have returned < 10 "Page text matches".

Instalación

  • Descarga y extrae los archivos en el directorio «SearchBlox» dentro del directorio extensions/ existente.
  • Añade el siguiente código a tu LocalSettings.php (preferiblemente al final):
    require_once "$IP/extensions/SearchBlox/SearchBlox.php";
    
  • Yes Listo – Navega a Special:Version en tu wiki para verificar que la apariencia se haya instalado correctamente.

Configuration parameters

Variable name Default value Description
$wgSearchBloxOrganizationName "Example Inc." Name of the organization running the SearchBlox server
$wgSearchBloxOrganizationWebsite "http://example.com" URL of the orgnization's main website
$wgSearchBloxHost "http://searchblox.example.com" Host of the SearchBlox Server
$wgSearchBloxServletUrl "http://searchblox.example.com/searchblox/servlet/SearchServlet" URL to launch queries against
$wgSearchBloxFrontendUrl "http://searchblox.example.com/searchblox/plugin/index.html" URL to direct users to for more results