Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
//<nowiki>
mw.util.addPortletLink ('p-cactions', 'javascript:problem()', 'pt-delete', 'Request deletion', '#pt-preferences' );
function problem(){
var txt = document.editform;
var advert = (via [[User:Whytheonlyone/RequestDeletion.js|script]])
var reason = prompt("What page?");
var msgtext = "{{Delete|" + reason + "}}";
var summary = "Requesting deletion " + advert + ;
document.editform.wpSummary.value = summary;
document.editform.wpMinoredit.checked = true;
if(txt.value.length > 0) txt.value += '\n';
txt.value += msgtext;
document.editform.submit();
}
//</nowiki>