MediaWiki:Common.js

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

// Disable comments on specific page(s). Separate multiple names using || if ( wgPageName == 'Acolyte' ) { var commentChecker = setInterval(function{checkIfComments},1000); function checkIfComments { if ( !($("#WikiaArticleComments").hasClass("loading")) ) { $('.MiniEditorWrapper').remove; $('.article-comm-reply').remove; $('#article-comments-counter-header').text("Comments are disabled on this page."); }	} }

importArticles({   type: "script",    articles: [        "w:dev:Countdown/code.js",        // "w:dev:Category_Sorter/code.js"    ] });