Wikitable filter

Filter for wiki tables using the jQuery tablesorter filter widget

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

You will need to install an extension such as Tampermonkey to install this script.

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
smheidrich
Instalaciones diarias
0
Instalaciones totales
350
Calificaciones
3 1 0
Versión
1.1.1
Creado
28/6/2015
Actualizado
20/2/2017
Tamaño
2,53 KB
Licencia
Desconocida
Funciona en

Adds filters to wikitables (i.e. tables with class "wikitable") using the jQuery plugin tablesorter and its filter widget.
I find that this is useful for large comparison tables of different software, such as Wikipedia's comparison of Wiki software or OpenStreetMap's software comparison.

Note that MediaWiki tables have their own sort script also called tablesorter, but this appears to be different from the one required here.
You can read more about the filter widget here: Tablesorter Filter Widget documentation

Usage

The script prepends a button to each wikitable that will apply the jQuery tablesorter plugin (apparently overwriting MediaWiki's own tablesorter) and the filter widget to the table when clicked. The filter widget will display an input field below the header of each table column in which you can enter text to filter with. Entering just normal letters will filter rows such that only those that have these letters in the column will be displayed.
For more advanced filtering methods, refer to the Tablesorter Filter Widget documentation.