MediaWiki:Common.js/disablecomments.js

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

// temporarily disable commenting in these pages // to prevent spamming/trolling

if ( wgPageName == 'Tooru_Mutsuki' ) { var commentChecker = setInterval(function{checkIfComments},2000); function checkIfComments { if ( !($("#WikiaArticleComments").hasClass("loading")) ) { $('.MiniEditorWrapper').remove; $('.article-comm-reply').remove; $('.article-commText').remove; $('#article-comments-counter-header').text("Commenting is disabled."); }	} }