MediaWiki:Common.js: Difference between revisions
Appearance
![]() |
![]() Cdjensen94 (talk | contribs) |
||
Line 1: | Line 1: | ||
mw.loader.using('mediawiki.util').done(function() { | |||
const script = document.createElement('script'); | |||
script.src = '/extensions/SliderExtension/modules/slider.js'; | |||
document.head.appendChild(script); | |||
}); |
Revision as of 05:05, 6 March 2025
mw.loader.using('mediawiki.util').done(function() {
const script = document.createElement('script');
script.src = '/extensions/SliderExtension/modules/slider.js';
document.head.appendChild(script);
});