MediaWiki:Common.js: Difference between revisions
Appearance
Created page with "→Any JavaScript here will be loaded for all users on every page load.: $(document).ready(function () { if (mw.config.get('skin') === 'vector') { mw.loader.using('mediawiki.util', function () { var sidebar = $('#mw-panel'); if (sidebar.length && !sidebar.hasClass('mw-sidebar-visible')) { sidebar.addClass('mw-sidebar-visible'); } }); } });" |
No edit summary |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
Revision as of 23:09, 19 March 2025
/* Any JavaScript here will be loaded for all users on every page load. */