MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

/* Auto updating recent changes opt-in * See w:c:dev:AjaxRC for info & attribution */ AjaxRCRefreshText = 'Auto-Refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity","Special:UncategorizedPages","Special:AllPages"];

$('.replyButton').on('click',function{   if ($('#autoconfirmed-only').length==1 && wgUserGroups.indexOf("autoconfirmed") < 0) {        $.showCustomModal('Cannot submit vote', 'You are not an eligible voter, therefore you cannot vote.');        return false;    } });