Wikipedia:WikiProject User scripts/Scripts/Quick cleanup: Difference between revisions
Content deleted Content added
No edit summary |
|||
Line 2:
// <nowiki>If you are editing a page, click the cleanup button on your tab bar to add "{{cleanup|{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}" to the top, set "Marked for cleanup" as the edit summary, mark it as a minor edit, and submit.</nowiki>
function
document.editform.wpTextbox1.value = '{' + '{' + 'cleanup|' + '{' + '{' + 'subst:CURRENTMONTHNAME}} ' + '{' + '{' + 'subst:CURRENTYEAR}}}}\n\n' + document.editform.wpTextbox1.value;
document.editform.wpSummary.value = 'Marked for cleanup';
Line 15:
}
if (document.editform) {
addPortletLink("p-cactions", "javascript:
}
});
|