Extension:Random In Category/es

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:Random In Category and the translation is 18% complete.

Other languages:
English • ‎español • ‎italiano • ‎português • ‎português do Brasil • ‎日本語 • ‎한국어
MediaWiki extensions manual
Crystal Clear action run.svg
Random In Category
Release status: estable
Implementación Special page
Descripción Direct the user to a random page in a specified category
Autor(es) Victor Vasiliev (VasilievVVtalk)
Última versión 2.0 (2011-01-31)
MediaWiki 1.16+
Cambios de la base de datos No
Licencia GPLv2+
Descarga
Translate the Random In Category extension if it is available at translatewiki.net
Verificar uso y versión de la matriz.

The Random In Category extension allows you to direct the user to a random page in a specified category.

Uso

Very similarly to Special:Random, you can specify a category name as a parameter to the page. Thus, "Special:RandomInCategory/Foo" or "Special:RandomPageInCategory/Foo" (MW ≥ MW 1.22) will get you a page from the "Foo" category.

Comparison to Core

Versión de MediaWiki: 1.22

In MediaWiki 1.22, a Special:RandomInCategory feature was added to core. The core version gives much more biased results than this extension (However, it has much less performance overhead). Versions of this extension for MediaWiki 1.22 and greater change the name that this extension provides from "Special:RandomInCategory" to Special:RandomPageInCategory to prevent conflict with the core feature.

Instalación

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