Jump to content

User:RscprinterBot/monobook.js

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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:Gracenotes/rollback.js');
rollbackSummaryDefault = "Reverted possible test edit(s) by [[Special:Contributions/$2|$2]] ([[User talk:$2|talk]]) to last version by $1. Got it wrong? Tell me [[User talk:RscprinterBot|here]] (T1)"

importScript('User:Rcsprinter123/CustomSummaryPresets.js'); //Linkback: [[User:Rcsprinter123/CustomSummaryPresets.js]]
var customsum1 = "Reverted possible test edit(s) to article. Got it wrong? Tell me [[User talk:RscprinterBot|here]] (T1)";
var customsum2 = " ";
var customsum3 = " ";
var customsum4 = "Removing article categories and/or interwiki links on non-articles ([[WP:USERNOCAT|Why?]]) (T4)";
var customsum5 = "Adding back categories which have been nulled (T5)";
var customsum6 = " ";
var customsum7 = "Article appeared on In The News, added {{ITN talk}} banner to talkpage (T7)";
var customsum8 = " 1 closed threads (T8)";

importScript("User:Rcsprinter123/inspectdiff.js");

// remove ugly styles from buttons:
$(".oo-ui-buttonInputWidget").removeClass("oo-ui-buttonInputWidget")
$(".oo-ui-buttonElement-button").removeClass("oo-ui-buttonElement-button")
// and checkboxes:
$(".oo-ui-checkboxInputWidget").removeClass("oo-ui-checkboxInputWidget")
// remove inflated field margins:
$(".oo-ui-fieldLayout-header").removeClass("oo-ui-fieldLayout-header")