Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
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
const wackyTaglines=[
importScript("DeepestLore:Taglines.js");
"Your face beautiful",
"FREE general care for any patient in need! Just come to Cow Alley 13 and ask for Doctor Nicholas. <i>No refunds. Terms and conditions apply.</i>",
"Chains of Iniquity returning soon™!"
];
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)];