User:Renamed user QaFQqK56bnsHrz/common.js

importScript('User:Ucucha/HarvErrors.js');

/// POPUPS ///

popupFixDabs = true

/// WATCHLIST STYLE CHANGES ///

// $(".mw-changeslist-separator").html(" – ").css("color", "#CCC")

//// TOOLBAR SCRIPTS ///

importScript("User:Gimmetrow/fixRefs.js"); // can't find anything else that does this? thought "formatgeneral" did importScript('User:Ohconfucius/script/MOSNUM dates.js'); // User:Ohconfucius/script/MOSNUM dates.js // importScript("User:Outriggr/lowercaseheadings.js"); importScript('User:Outriggr/script/formatgeneral.js'); // User:Ohconfucius/script/formatgeneral.js importScript('User:Ohconfucius/script/Common Terms.js'); // User:Ohconfucius/script/Common Terms.js // importScript('User:Lingzhi2/reviewsourcecheck-sb.js');

/// "TOP BAR" SCRIPTS ///

//// local copies of scripts to change minor edit status and/or shorten edit summaries // importScript('User:Outriggr/rater.js'); // User:Evad37/rater importScript("User:Ohconfucius/dashes.js");

// Adds a "Replace" tab which pops up two prompt boxes; one for a regexp and one for a replacement

function wpTextboxReplace {   var s = prompt("Search regexp:"); if(s){ var r = prompt("Replace /"+s+"/ with:"); if(!r && r != '') return; var txt = document.editform.wpTextbox1; txt.value = txt.value.replace(new RegExp(s, "mg"), r); } } $(function {    if (typeof document.editform.wpTextbox1 !== 'undefined')  {        mw.util.addPortletLink('p-cactions', 'javascript:wpTextboxReplace', 'Replace', 'ca-replace', 'Regexp replace for the edit window', 'R', document.getElementById('ca-history'));   } });