MediaWiki:Common.js: Difference between revisions

From ClimateKG
Jump to navigation Jump to search
Created page with "→Any JavaScript here will be loaded for all users on every page load.: $(function () { var $bc = $('#mw-content-subtitle'); if ($bc.length && $bc.text().trim() !== '') { $bc.prepend('<a href="/wiki/Main_Page">Climate Knowledge Graph</a> › '); } });"
 
No edit summary
Tag: Reverted
Line 7: Line 7:
         $bc.prepend('<a href="/wiki/Main_Page">Climate Knowledge Graph</a> › ');
         $bc.prepend('<a href="/wiki/Main_Page">Climate Knowledge Graph</a> › ');
     }
     }
});
$(function () {
    if ($('#ar6-stats').length === 0) return;
    /* paste your genderData, countryData, chart and bar code here */
});
});

Revision as of 03:56, 1 April 2026

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


$(function () {
    var $bc = $('#mw-content-subtitle');
    if ($bc.length && $bc.text().trim() !== '') {
        $bc.prepend('<a href="/wiki/Main_Page">Climate Knowledge Graph</a> › ');
    }
});


$(function () {
    if ($('#ar6-stats').length === 0) return;

    /* paste your genderData, countryData, chart and bar code here */
});