MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ jQuery(function($) { mw.loader.using("jquery.tablesorter", function { $("table.sortable[data-default-sort]").each(function {  var sortEntry = {};   sortEntry[$(this).data("default-sort")] = "asc";   $(this).tablesorter({ sortList: [sortEntry] });  }); }); });