MediaWiki:Common.js: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
No edit summary
(No longer necessary)
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. */
// Notify people who have arrived via the wiki.ironyhub.com domain that it will be expiring soon
if ((new URL(document.location)).searchParams.has("fromolddomain")) {
    mw.notify($("<span>⚠️ The <i>wiki.ironyhub.com</i> domain will no longer be available after July 29. Please make sure to use the <i>irony.wiki</i> domain for all future visits.</span>"), {autoHide: false});
}

Revision as of 06:42, 9 May 2023

/* Any JavaScript here will be loaded for all users on every page load. */