Jump to content

MediaWiki:FilterTable.js: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

16 April 2024

  • curprev 10:1910:19, 16 April 2024 Caleb Cooper talk contribs 2,228 bytes +2,228 Created page with "function filterTable(){ $("table.filterable").each(function(){ var i=0; var cols; $(this).find("tr:first-child th, tr:first-child td").each(function(){ if (!$(this).hasClass("unfilterable")){ cols=[]; $(this).closest("table").find("tr td:nth-child("+(i+1)+")").each(function(){ cols.push($(this).text()); }); cols = arrayUnique(cols); l=0; for (j=0; j<cols.length; j++){ t=charLength(cols[j]); if (l<t) l=t; } $(this)...."