MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Created page with "→Any JavaScript here will be loaded for all users on every page load.: mw.loader.using("mediawiki.util").then(function () { function loadIFrame(button) { var container = button.nextElementSibling; // Gets the next div var url = button.getAttribute("data-url"); // Gets the iframe URL // Hide button button.style.display = "none"; // Insert iframe dynamically container.innerHTML = '<iframe src="' + url + '" height="3..." |
Replaced content with "→Any JavaScript here will be loaded for all users on every page load.: " Tag: Replaced |
||
| 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. */ | ||