Content deleted Content added
m Per request |
m auto-submit |
||
Line 10:
document.getElementById("wpReason").value = "Granting the following rights, due to demonstration of trust: " + (rollback > 0 ? "rollback" + (ipblockExempt > 0 || accountcreator > 0 ? ", " : "") : "") + (ipblockExempt > 0 ? "ipblock-exempt" + (accountcreator > 0 ? ", " : "") : "") + (accountcreator > 0 ? "accountcreator" : "");
document.forms["mw-userrights-form1"].submit();
},
"remove" : function(rollback, ipblockExempt, accountcreator) {
Line 21 ⟶ 22:
document.getElementById("wpReason").value = "Removing the following rights, due to abuse: " + (rollback > 0 ? "rollback" + (ipblockExempt > 0 || accountcreator > 0 ? ", " : "") : "") + (ipblockExempt > 0 ? "ipblock-exempt" + (accountcreator > 0 ? ", " : "") : "") + (accountcreator > 0 ? "accountcreator" : "");
document.forms["mw-userrights-form1"].submit();
}
};
|