MediaWiki:Common.js: Difference between revisions

From Indpedia
Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: $(function() { if ($('#custom-footer').length === 0) { $('body').append('<div id="custom-footer">Content is available under <a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank">Creative Commons Attribution-ShareAlike</a>. Some of Wikitia\'s pages are sourced from Wikipedia.org\'s Mainspace and Draftspace. Wikitia is not affiliated with the Wikimedia Foundation, un..."
 
No edit summary
Tag: Manual revert
 
(5 intermediate revisions by the same user not shown)
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. */
$(function() {
    if ($('#custom-footer').length === 0) {
        $('body').append('<div id="custom-footer">Content is available under <a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank">Creative Commons Attribution-ShareAlike</a>. Some of Wikitia\'s pages are sourced from Wikipedia.org\'s Mainspace and Draftspace. Wikitia is not affiliated with the Wikimedia Foundation, unless otherwise noted.</div>');
    }
});

Latest revision as of 11:03, 11 August 2024

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