MediaWiki:Common.js

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

/* Hovering tooltip script */ mw.loader.load( '/w/index.php?title=MediaWiki:Tooltips.js&action=raw&ctype=text/javascript' );

/* Spoilerblur click */ $(function{   $('.spoil').each(function{ $(this).click(function {           $(this).addClass('spoilopen');            $(this).removeClass('spoil');        }); }); });

/* Custom tooltips list */ window.tooltips_list = [ { classname: 'custom-tooltip-parse', parse: '{|style="white-space:nowrap;"/n|<#parameter#>/n|}', } ];