var LocalFileLinks = true; 
$(function(){
	var wgPageName = mw.config.get('wgPageName');
  if ( wgPageName === 'Special:Blockera' ) {
    document.getElementsByName('wpBlock').parentNode.innerHTML += "<input type='submit' style='margin-left:9em' onclick='javascript:blockVandal()' value='Snabblockera vandal' />"
  }
})
function blockVandal() {
  document.getElementById('wpBlockExpiry').value = 'infinite';
  document.getElementById('wpBlockReasonList').value = 'vandalkonto';
  document.getElementById('wpAllowUsertalk').checked = false;
  document.getElementById('blockip').submit()
}
var LocalFileLinks = true;
/*
* Will pop-up a confirmation dialog when rollback link is clicked from Watchlist.
* Hit the "cancel" button if you had clicked Rollback accidentally and the edit will not be reverted
*/