User:Polymeric/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:PortableCSSPad/code.js',        /*'u:tobias-laboratory:MediaWiki:Common.js',*/        'u:dev:UserAccountAge/code.js',        'u:dev:MediaWiki:WorkingMoreUsersCount.js',        'u:dev:MediaWiki:EditBio/code.js',        'u:dev:MediaWiki:LastEdited/code.js',        'u:dev:MediaWiki:VSTF Report Menu/code.js',        'u:dev:MediaWiki:WallGreetingButton/code.js',        /*'u:pintorkagamine:Mediawiki:ChatOptions.js/es.js'*/        'u:dev:LastEdited/code.js',        'u:dev:MediaWiki:MultiUpload/code.js',        /*'u:dev:MediaWiki:MoreSocialLinks.js',*/        'u:dev:MediaWiki:ClipboardCopy.js',        "u:dev:NewImages.js",        'u:dev:MediaWiki:ContribsLink/code.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: [] };