User:Polymeric/global.js

importArticles({   type: 'script',    articles: [        'u:dev:UserAccountAge/code.js',        'u:dev:MediaWiki:LastEdited/code.js',        "u:dev:NewImages.js",        'u:dev:MediaWiki:CategoryQuickRemove.js',        'u:dev:MediaWiki:ContribsLink/code.js',        'u:dev:MediaWiki:SyntaxHighlight.js'    ] });

/* Comments box (Thanks to KockaAdmiralac. * $(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;                }); });       }    });    /* Last edited */ window.lastEdited = { avatar: true, avatarsize: 20, size: true, diff: true, comment: true, newpage: true, time: 'timestamp', timezone: 'UTC', lang: 'es', position: { element: document.getElementById('WikiaPageHeader'), method: 'append' },   namespaces: { exclude: [] },   pages: [] };