Jump to content

MediaWiki:Minerva.js: Difference between revisions

From Impact Evaluation Foundation
No edit summary
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 2: Line 2:




let footerUL = document.querySelector("#footer-info");  
let footer = document.querySelector("#footer-info-lastmod");  
if (footerUL) {
if (footer) {
     let newListItem = document.createElement("li");  
     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.";
     footerUL.appendChild(newListItem);  
     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;
}