Difference between revisions of "MediaWiki:Common.js"
Wiselowadmin (talk | contribs) |
Wiselowadmin (talk | contribs) |
||
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. */ | ||
− | var zalgo = require(' | + | mw.loader.load( 'js/zalgo' ); |
+ | var zalgo = require('zalgo') | ||
document.getElementById('jstest').innerHTML = zalgo("gówno nasrane") | document.getElementById('jstest').innerHTML = zalgo("gówno nasrane") |
Revision as of 07:54, 19 February 2022
/* Any JavaScript here will be loaded for all users on every page load. */ mw.loader.load( 'js/zalgo' ); var zalgo = require('zalgo') document.getElementById('jstest').innerHTML = zalgo("gówno nasrane")