User:Sesamehoneytart/common.js

importScript('User:Kephir/gadgets/rater.js'); // User:Kephir/gadgets/rater $(".editpage-head-copywarn").hide; if ($("#firstHeading").html.includes("User contributions for")) { // Turn all contributions that are current grey // so anything that has been updated stands out $('.mw-uctop').each(function{		if($(this).html.includes("current")) {			$(this).parent.css("background-color", "grey");		}	}); } else if ($("#firstHeading").html.includes("Editing") && !$("#firstHeading").html.includes("User:")) { $("#mw-panel").hide; $("#content").css('margin-left', 0); if ($("#firstHeading").html.includes("Talk ")) { // Probably a talk page for articles missing images // Many updates are for articles where a user added an image but forgot to remove the /request image/ tag from the talk page $("#wpSummary").val("Removed image request tag because the article has a recent image. If you want to replace the tag, please include a description of what you are requesting an image of."); } else { $("#wpSummary").val("Update " + new Date.getFullYear); } } else if ($("#firstHeading").html.includes("Creating")) { $("#mw-panel").hide; $("#content").css('margin-left', 0); $("#wpSummary").val("Creating New Page"); } if ($("#firstHeading").html.includes("Template:Taxonomy")) { $("#wpSummary").val("Auto Taxobox update"); }