Last edited 4 months ago
by Redaktion

MediaWiki:Common.js: Difference between revisions

Created page with "Any JavaScript here will be loaded for all users on every page load.: if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Watchlist' ) { document.body.classList...."
(No difference)

Revision as of 11:18, 8 December 2022

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

if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Watchlist' ) {
    document.body.classList.add( 'mw-rcfilters-ui-initialized' );
}