MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Alani Myrtel (talk | contribs) (Experimental Reference header) |
Alani Myrtel (talk | contribs) 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>'); });