User:JesseW/monobook.js

From Wikipedia, the free encyclopedia

Note: After saving, you have to bypass your browser's cache to see the changes. Mozilla/Safari: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Internet Explorer: press Ctrl-F5, Opera/Konqueror: press F5.

//* <pre> <nowiki> */
function replace() {
    var s = prompt("Search regexp?");
    if(s) {
        var r = prompt("Replace regexp?");
        if(!r && r != '') return;
        var txt = document.editform.wpTextbox1;
        txt.value = txt.value.replace(new RegExp(s, "g"), r);
    }
}

// [[User:Lupin/popups.js]] - please include this line 

simplePopups = true;
popupAdminLinks = true;
popupStructure='menus';

document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//winc('User:Quarl/util.js');           // Quarl's utility functions
//winc('User:Quarl/addlilink.js');      // defines addlilink and tab/toolbox functions (by Quarl)
//winc('User:Quarl/wikipage.js');       // WikiPage class (by Quarl)
//winc('User:Quarl/show_diff_since.js');// show changes since last edited (async version); 'since' tab button (by Quarl)

// Helper tools
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Addtabs/monobook.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//

// Admin rollback tools [[Category:VoA scripted admins|{{PAGENAME}}]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Specialadmin/monobook.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//
//
addOnloadHook(Dfn_js_con)
function Dfn_js_con()
{
//moves
Mvaluejs_class = 'EHejonjEB';
//edits
Rvaluejs_class = 'DEEGHEBEQWWB';
//uploads
Uvaluejs_class = 'OBbowjobWf';
}
//

//* </nowiki> </pre> */