User:Whytheonlyone/RequestDeletion.js

// mw.util.addPortletLink ('p-cactions', 'javascript:problem', 'Vandalism warning', 'pt-vw', 'Vandalism', null, '#pt-vw' );

function problem{ var txt = document.editform; var page = prompt("What page?"); var msgtext = "" + page + ""; var summary = "Notifying user about vandalism on " + page + ""; document.editform.wpSummary.value = summary; document.editform.wpMinoredit.checked = true; if(txt.value.length > 0) txt.value += '\n'; txt.value += msgtext; document.editform.submit; } mw.util.addPortletLink ('p-cactions', 'javascript:problem', 'Removing content', 'pt-rc', 'Blanking', null, '#pt-rc' );

function problem{ var txt = document.editform; var page = prompt("What page?"); var msgtext = "" + page + ""; var summary = "Notifying user about removal of content on " + page + ""; document.editform.wpSummary.value = summary; document.editform.wpMinoredit.checked = true; if(txt.value.length > 0) txt.value += '\n'; txt.value += msgtext; document.editform.submit; } mw.util.addPortletLink ('p-cactions', 'javascript:problem', 'Copyright warning', 'pt-cv', 'Copyright', null, '#pt-cv' );

function problem{ var txt = document.editform; var page = prompt("What page?"); var url = prompt("What URL or source?"); var msgtext = "" + page + ""; var summary = "Notifying user about copyright violation on " + page + ""; document.editform.wpSummary.value = summary; document.editform.wpMinoredit.checked = true; if(txt.value.length > 0) txt.value += '\n'; txt.value += msgtext; document.editform.submit; } //