User:Oranjblud/common.js

window.hotcat_use_category_links = true; window.hotcat_list_size = 10; mw.loader.using("mediawiki.user", function {  $('body').delegate('#hotcatCommitForm', 'submit', function  { var submitType = this.wpDiff; if (submitType) { // Switch form submission from diff to save this.wpEditToken.value = mw.user.tokens.get("csrfToken"); submitType.name = submitType.value = 'wpSave'; }   return true; }); });