User:DannyS712/common.js

mw.loader.load('//www.mediawiki.org/w/index.php?title=User:DannyS712/translate.js&action=raw&ctype=text/javascript'); mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/massRollback.js&action=raw&ctype=text/javascript');

window.deletePage = function( title, reason ){ var poster = { action: 'delete', title: title, reason: reason };   new mw.Api.postWithEditToken(poster ).done( function ( response ) {		console.log( response );    } ); };