Now that skins/common/wikibits.js is gone, so is the function ts_makeSortable. What is the equivalent call to ts_makeSortable(table) in MediaWiki 1.18?
Here is our code we need to convert:
function makesortable( context ) { $('table.sortable', context) .each(function(index, table){ if (!$(table).find('th a span.sortarrow').length) { ts_makeSortable(table); } }); }
This is from an extension that sorts a table by a specified column when the page is rendered.
Thank you. DanB