Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
window.hotcat_use_category_links = true;

// Add Find link launcher to the Tools menu
$(function () {
 mw.util.addPortletLink(
  "p-tb",
  "//edwardbetts.com/find_link/" + mw.config.get('wgPageName'),
  "Find link"
)});

// Add WikiBlame launcher to the Tools menu
$(function () {
 mw.util.addPortletLink(
  "p-tb",     // toolbox portlet
  "http://ramselehof.de/wikipedia/wikiblame.php?user_lang=en&lang=" + mw.config.get('wgContentLanguage')
  + "&project=wikipedia&article=" + mw.config.get('wgPageName')
  + "&needle=&skipversions=0&ignorefirst=0&limit=500&searchmethod=int&order=desc&user=",
  "WikiBlame"  // link label
)});

importScript('User:Ohconfucius/script/Sources.js');

importScript('User:Ohconfucius/script/MOSNUM dates.js');

// Save multiple HotCat changes
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;
  });
});

importScript('User:Anomie/unsignedhelper.js'); // Linkback: [[User:Anomie/unsignedhelper.js]]