MediaWiki:Minerva.js: Difference between revisions
Appearance
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 2: | Line 2: | ||
let | let footer = document.querySelector("#footer-info-lastmod"); | ||
if ( | if (footer) { | ||
let | let disclaimer = document.createElement("li"); | ||
newListItem.innerHTML = "All content, data, and information contributed to the IEF.wiki is made available under the CC0 1.0 Universal (Public Domain Dedication) license. This means that anyone is free to: Copy, modify, distribute, and use the content for any purpose, including commercial purposes, without asking for permission or providing attribution."; | newListItem.innerHTML = "All content, data, and information contributed to the IEF.wiki is made available under the CC0 1.0 Universal (Public Domain Dedication) license. This means that anyone is free to: Copy, modify, distribute, and use the content for any purpose, including commercial purposes, without asking for permission or providing attribution."; | ||
footer.innerHTML = disclaimer; | |||
} | } | ||
Revision as of 14:26, 9 January 2025
/* All JavaScript here will be loaded for users of the MinervaNeue skin */
let footer = document.querySelector("#footer-info-lastmod");
if (footer) {
let disclaimer = document.createElement("li");
newListItem.innerHTML = "All content, data, and information contributed to the IEF.wiki is made available under the CC0 1.0 Universal (Public Domain Dedication) license. This means that anyone is free to: Copy, modify, distribute, and use the content for any purpose, including commercial purposes, without asking for permission or providing attribution.";
footer.innerHTML = disclaimer;
}