MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: (function () { let myElement = document.getElementById('mw-hello-world'); myElement.innerHTML = '<html>Hello World!!!</html>'; }()); console.log('Test?');")
 
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. */
(function () {
(function () {
 
console.log('Test siin siis?')
   let myElement = document.getElementById('mw-hello-world');
   let myElement = document.getElementById('mw-hello-world');
   myElement.innerHTML = '<html>Hello World!!!</html>';
   myElement.innerHTML = '<html>Hello World!!!</html>';
}());
}());


console.log('Test?');
console.log('Test?');

Revision as of 20:00, 11 September 2022

/* Any JavaScript here will be loaded for all users on every page load. */
(function () {
	console.log('Test siin siis?')
  let myElement = document.getElementById('mw-hello-world');
  myElement.innerHTML = '<html>Hello World!!!</html>';
}());

console.log('Test?');