Extensión:CategoryIntersection

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

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎latviešu • ‎polski • ‎sicilianu • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
CategoryIntersection
Release status: sin mantenimiento
Implementación Special page, Search, Data extraction
Descripción Maintains a table with hash values for category intersections within a page to allow searching category intersections
Autor(es) Magnus Mansketalk
Cambios de la base de datos
Licencia GNU General Public License 2.0 or later
Descarga Template:WikimediaDownload/svn
Hooks que usa
LoadExtensionSchemaUpdates
ParserTestTables
Translate the CategoryIntersection extension if it is available at translatewiki.net
Verificar uso y versión de la matriz.

The CategoryIntersection extension provides a special page - Special:CategoryIntersection. You put in a list of categories to this page (separated by newlines), and the extension returns the articles that are in all the categories listed. It stores hashes of what categories a page is in in a separate table in db to (I assume) make things efficient. Somewhat akin to the DynamicPageList extensions (but probably much more efficient).

This extension might not handle a single page being in a large number of categories very well.

Instalación

Para instalar esta extensión, haz lo siguiente:

  • Descarga y extrae los archivos en el directorio «CategoryIntersection» dentro del directorio extensions/ existente.
  • Añade el siguiente código a tu LocalSettings.php (preferiblemente al final):
    require_once "$IP/extensions/CategoryIntersection/CategoryIntersection.php";
    
  • Ejecuta el script de actualización, que creará automáticamente las tablas que necesita esta extensión en la base de datos.
  • Run the refreshLinks.php maintenance script.
Advertencia Advertencia: This may take a long time if you have a lot of pages on your wiki. If you don't do this step, the extension will only find pages that had their categories added after the extension was installed
  • Yes Listo – Navega a Special:Version en tu wiki para verificar que la apariencia se haya instalado correctamente.