MediaWiki:Common.js: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
//Replace whatever's in https://lore.gnoblin.cc/w/MediaWiki:Citizen-footer-tagline with a wacky tagline | //Replace whatever's in https://lore.gnoblin.cc/w/MediaWiki:Citizen-footer-tagline with a wacky tagline | ||
importScript("DeepestLore:Taglines.js"); | |||
document.getElementById("footer-tagline").innerHTML = wackyTaglines[Math.floor(Math.random()*wackyTaglines.length)]; | document.getElementById("footer-tagline").innerHTML = wackyTaglines[Math.floor(Math.random()*wackyTaglines.length)]; | ||
Revision as of 11:37, 17 May 2026
/* Any JavaScript here will be loaded for all users on every page load. */
//Replace whatever's in https://lore.gnoblin.cc/w/MediaWiki:Citizen-footer-tagline with a wacky tagline
importScript("DeepestLore:Taglines.js");
document.getElementById("footer-tagline").innerHTML = wackyTaglines[Math.floor(Math.random()*wackyTaglines.length)];