Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
(Add an automatic heading before the references list)
 
m (Protected "MediaWiki:Common.js": This is the JavaScript for ALL users. ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(No difference)

Latest revision as of 19:06, 4 June 2024

/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready(function(){
    $('.mw-references-wrap').before('<h2>References</h2>');
});