Difference between revisions of "MediaWiki:Common.js"
Line 4: | Line 4: | ||
var myElement = document.getElementById('displayText'); | var myElement = document.getElementById('displayText'); | ||
myElement.innerHTML = 'any HTML'; | myElement.innerHTML = 'any HTML'; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}()); | }()); | ||
mw.loader.load( '/w/index.php?title=MediaWiki:Md5.js&action=raw&ctype=text/javascript' ); | mw.loader.load( '/w/index.php?title=MediaWiki:Md5.js&action=raw&ctype=text/javascript' ); |
Latest revision as of 01:31, 21 February 2019
/* Any JavaScript here will be loaded for all users on every page load. */ $(function () { var myElement = document.getElementById('displayText'); myElement.innerHTML = 'any HTML'; }()); mw.loader.load( '/w/index.php?title=MediaWiki:Md5.js&action=raw&ctype=text/javascript' );