Jump to content

MediaWiki:Common.js: Difference between revisions

From The Final Nights
No edit summary
No edit summary
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. *
mw.loader.using( 'jquery' ).then( function () {
mw.loader.using( 'jquery' ).then( function () {
   $( function() { // Document ready shorthand
   $( function() { // Document ready shorthand

Revision as of 00:04, 16 April 2025

mw.loader.using( 'jquery' ).then( function () {
  $( function() { // Document ready shorthand
      document.documentElement.classList.add( 'vector-theme-dark' );
  } );
} );