User:Rutilant/monobook.js

$(function {    /* Highlight AIV and UAA on Watchlist */    var colors = {        AIV: "#ffe6a2",        UAA: "#81daef"    };    if (mw.config.get("wgCanonicalSpecialPageName") === "Watchlist") {        mw.hook('wikipage.content').add(function  { $("a.mw-changeslist-title[href$='/wiki/Wikipedia:Administrator_intervention_against_vandalism']").parents("li.mw-changeslist-line").css({               "backgroundColor": colors.AIV            }); $("a.mw-changeslist-title[href$='/wiki/Wikipedia:Usernames_for_administrator_attention']").parents("li.mw-changeslist-line").css({               "backgroundColor": colors.UAA            }); });   }

$("#mw-mf-userinfo").find("button.mw-mf-action-button").click(function (event) {       if (!confirm("Thank user?")) {            event.preventDefault;        }    }); });

importScript('User:Rutilant/statusChanger.js'); importScript('User:Rutilant/ajax-watchlist.js'); importScript('User:Rutilant/reportSpam.js'); // importScript('User:Rutilant/strikeBlocked.js');

mw.loader.load( '//test.wikipedia.org/w/index.php?title=User:Rutilant/ajax-rollback.js&action=raw&ctype=text/javascript' ); mw.loader.load( '//test.wikipedia.org/w/index.php?title=User:Rutilant/sandbox.js&action=raw&ctype=text/javascript' ); // mw.loader.load( '//test.wikipedia.org/w/index.php?title=User:Rutilant/reportSpam.js&action=raw&ctype=text/javascript' );

importScript( 'User:Writ Keeper/Scripts/massRollback.js' ); // Backlink: User:Kangaroopower/MRollback.js /* importScript( 'User:Galobtter/WatchlistLinksNewTab.js' ); // Backlink: User:Galobtter/WatchlistLinksNewTab.js importScript( 'User:BenjaminWillJS/AjaxUndo.js' ); // Backlink: User:BenjaminWillJS/AjaxUndo.js importScript('User:Abelmoschus Esculentus/ContribSearch.js'); // Linkback: User:Abelmoschus Esculentus/ContribSearch.js