MediaWiki:Common.js: Difference between revisions

Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: // Insert TopMessage template at the beginning of content on all pages $(document).ready(function() { if ($('#mw-content-text').length) { $('#mw-content-text').prepend('{{TopMessage}}'); } });"
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: // Insert TopMessage template at the beginning of content on all pages $(document).ready(function() { if ($('#mw-content-text').length) { $('#mw-content-text').prepend('{{TopMessage}}'); } });")
(No difference)