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.
importScript('User:John254/mass rollback.js')

// [[User:Tim Song/spihelper.js]]
importScript("User:Tim Song/spihelper.js");

// [[User:Shirik/spm.js]] LTA reporting script
importScript("User:Shirik/spm.js");

// [[User:Superm401/Compare link.js]]
importScript('User:Superm401/Compare link.js');

importScript('User:Voice_of_All/Addtabs/monobook.js');

importScript('User:Lupin/recent2.js');

// [[User:Henrik/live-edit-counter]]
importScript('User:Henrik/js/live-edit-counter.js');


importScript('User:TheDJ/qui.js');

$(function() { 
  mw.util.addPortletLink('p-personal','/wiki/WP:AN/I','AN/I');
  mw.util.addPortletLink('p-personal','/w/index.php?title=Wikipedia:Administrators\'_noticeboard/Incidents&action=history','(hist)');
  mw.util.addPortletLink('p-personal','/wiki/Wikipedia:Sockpuppet investigations','SPI');
  mw.util.addPortletLink('p-personal','/wiki/Wikipedia:IRC_channels#List_of_useful_channels','IRC');
});

// Friendly
importScript('User:Ioeth/friendly.js');


// adapted from TinEye gadget for Commons
// To use, add this to your user skin preferences file (probably User:YourUsername/monobook.js):
// TinEye
importScript('User:Twp/tineye.js');


// [[User:ais523/bracketmatch.js]]
importScript('User:ais523/bracketmatch.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 (document.forms.editform) {
        mw.util.addPortletLink('p-cactions', 'javascript:wpTextboxReplace()', 'Replace', 'ca-replace',
                       'Regexp replace for the edit window', 'R', document.getElementById('ca-history'));
    }
});
 
//