Jump to content

User:Daedalus969/monobook.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
for when I run into socks of banned users
so the message will go away
Line 26: Line 26:
addPortletLink('p-personal','/wiki/Wikipedia:IRC_channels#List_of_useful_channels','IRC');
addPortletLink('p-personal','/wiki/Wikipedia:IRC_channels#List_of_useful_channels','IRC');
});
});

// Twinkle
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklefluff.js');
importScript('User:AzaToth/twinklewarn.js');
importScript('User:AzaToth/twinklearv.js');
importScript('User:AzaToth/twinklespeedy.js');
importScript('User:AzaToth/twinklediff.js');
importScript('User:AzaToth/twinkleprotect.js');
importScript('User:AzaToth/twinkleprod.js');
importScript('User:AzaToth/twinklexfd.js');
importScript('User:AzaToth/twinkleimage.js');
importScript('User:AzaToth/twinkleunlink.js');
importScript('User:AzaToth/twinkledelimages.js');
importScript('User:AzaToth/twinkledeprod.js');
importScript('User:AzaToth/twinklebatchdelete.js');
importScript('User:AzaToth/twinklebatchprotect.js');
importScript('User:AzaToth/twinkleimagetraverse.js');
importScript('User:AzaToth/twinklebatchundelete.js');


// Friendly
// Friendly

Revision as of 09:32, 2 December 2012

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');

addOnloadHook(function() { 
  addPortletLink('p-personal','/wiki/WP:AN/I','AN/I');
  addPortletLink('p-personal','/w/index.php?title=Wikipedia:Administrators\'_noticeboard/Incidents&action=history','(hist)');
  addPortletLink('p-personal','/wiki/Wikipedia:Sockpuppet investigations','SPI');
  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);
    }
}
addOnloadHook(function () {
    if (document.forms.editform) {
        addPortletLink('p-cactions', 'javascript:wpTextboxReplace()', 'Replace', 'ca-replace',
                       'Regexp replace for the edit window', 'R', document.getElementById('ca-history'));
    }
});
 
//