MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ mw.loader.using( ['mediawiki.util'] ).done( function { var isDiff = mw.util.getParamValue('diff') || mw.util.getParamValue('oldid'); if (mw.config.get('wgIsMainPage') && mw.config.get('wgIsArticle') && !isDiff){   mw.util.addCSS('h1.firstHeading, div#siteNotice { display: none !important; }'); } } );