Jump to content

MediaWiki:Minerva.js: Difference between revisions

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




document.querySelector('.branding-box a span').innerHTML = "Test";
let footerUL = document.querySelector("#footer-info");
if (footerUL) {
    let newListItem = 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.";
    footerUL.appendChild(newListItem);
}

Revision as of 06:52, 8 January 2025

/* All JavaScript here will be loaded for users of the MinervaNeue skin */


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