User:Polymeric/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:PortableCSSPad/code.js',        'u:tobias-laboratory:MediaWiki:Common.js'    ] });

/* Comments box (Thanks to KockaAdmiralac <3). */ $(function { $('#WikiaArticleComments').insertAfter($('#WikiaRail').children.last); });

/* Image Maps */ if (wgNamespaceNumber==6 && wgAction=='view') { mw.loader.load('//tools.wmflabs.org/imagemapedit/ime.js'); }   $(document).ready(function {        if($('#location-map')) {            $('#location-map area').each(function { var id = $(this).attr('id'); $(this).mouseover(function {                   $('#overlay'+id).show;                }); $(this).mouseout(function {                   var id = $(this).attr('id');                    $('#overlay'+id).hide;                }); });       }    });