MediaWiki:Common.js: Difference between revisions

From One Nation Under Jou
Jump to navigation Jump to search
(Experimental Reference header)
 
No edit summary
 
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. */


/* Adds a Reference header if ref (Cite) is called on an article */
$(document).ready(function(){
$(document).ready(function(){
     $('.mw-references-wrap').before('<h2>References</h2>');
     $('.mw-references-wrap').before('<h2>References</h2>');
});
});

Latest revision as of 14:52, 1 August 2021

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


/* Adds a Reference header if ref (Cite) is called on an article */
$(document).ready(function(){
    $('.mw-references-wrap').before('<h2>References</h2>');
});