Greasy Fork is available in English.

Wikitable filter

Filter for wiki tables using the jQuery tablesorter filter widget

المؤلف
smheidrich
التثبيت اليومي
0
إجمالي التثبيت
319
التقييمات
3 1 0
الإصدار
1.1.1
تم إنشاؤه
28-06-2015
تم تحديثه
20-02-2017
الترخيص
لا يوجد
ينطبق على

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.