User:Catrope/vector.js

window.checkedRevs = function(prefix, separator) { prefix = prefix || 'r'; separator = separator || ', '; var s = []; jQuery('.TablePager_col_selectforchange input:checked').each(function { s.push(prefix+jQuery(this).val); }); return s.reverse.join(separator); }