Open main menu

Extensión:BypassSearch

This page is a translated version of the page Extension:BypassSearch and the translation is 30% complete.

Other languages:
English • ‎español • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
BypassSearch
Release status: estable
Implementación User interface, MyWiki
Descripción Adds a user preference to go directly to creating a new page when the Go button is used and the target page doesn't exist
Autor(es) slakr, Leucosticte
Última versión 1.0.2 (2013-11-23)
MediaWiki 1.20+
PHP 5.3+
Cambios de la base de datos No
Licencia Ninguna licencia especificó
Descarga See the page containing the code
Translate the BypassSearch extension if it is available at translatewiki.net
Verificar uso y versión de la matriz.

The BypassSearch extension adds a user preference to go directly to creating a new page when the Go button is used and the target page doesn't exist.

When using the search box, the default behavior is to Go directly to an article if it exists, or if it doesn't, use the search engine to find the given term. This extension allows the user to specify (under the "Misc" tab of "my preferences") the he wants to go directly into creating a new page instead of activating the autosearch when the given article doesn't exist.

If, instead, you wish to force this behavior for everyone, you don't need to use this extension; rather, simply enable $wgGoToEdit globally.

Instalación

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

Configuración

# If you would like the option enabled by default, set this to 1.
$wgDefaultUserOptions['bypasssearch'] = 0;