/* delete userpage */
var deleteReason = ']: Unambiguous ] or promotion';
$('#wpDeleteReasonList').find('option:contains(deleteReason)').prop("selected", true);
$('#wpWatch').prop("checked", false);// or set to true to make sure you always watch the page
/* block user */
var blockReason = '{'+'{Spamublock}'+'}';
$('#mw-input-wpExpiry').find('option:contains("indefinite")').prop("selected", true);
$('#mw-input-wpReason').find('option:contains(blockReason)').prop("selected", true);
$('#mw-input-wpCreateAccount').prop("checked", true);
$('#mw-input-wpDisableEmail').prop("checked", false);
$('#mw-input-wpDisableUTEdit').prop("checked", false);
$('#mw-input-wpAutoBlock').prop("checked", true);
$('#mw-input-wpWatch').prop("checked", true);
$('#mw-input-wpConfirm').prop("checked", true);
/* post block notice on talk */
var postContent = '{'+'{Uw-spamublock}'+'} ~~'+'~~';
/* api to post */