User:Mihawk Moha/global.js

var qtEnableUserPageOverwrite = true; var qtUserPageTemplate = ''; importArticles({   type: 'script',    articles: [        'w:dev:QuickCreateUserPage/code.js'    ] });

importScriptPage('ContribsLink/code.js', 'dev');

WHAMDelay = 1000; importScriptPage('MediaWiki:WHAM/code.2.js', 'dev');

importArticles({   type: 'script',    articles: [        'u:dev:QuickComments/code.js'    ] });

importArticles({   type: 'script',    articles: [        'u:dev:PrivateMessageAlert/code.js',        'u:dev:MediaWiki:ChatOptions/code.js',        'u:kocka:MediaWiki:Emoticons.js'        // ...    ] });

importScriptPage('ReplyBottom/code.js', 'dev');

// Nav require(['wikia.window', 'mw'], function(context, mw) {   var globalNav = document.getElementById('globalNavigation');    Array.prototype.slice.call(globalNav.getElementsByClassName('wds-global-navigation__dropdown-toggle')).forEach(function(elem){ elem.addEventListener('mouseenter', elem.click); elem.parentNode.addEventListener('mouseleave', elem.click.bind(elem)); });   globalNav.querySelector('.wds-avatar').addEventListener('click', function  { context.location = (new mw.Title(mw.user.name, 2)).getUrl; }); });

// LastEdited // http://dev.wikia.com/wiki/LastEdited window.lastEdited = { avatar: true, size: false, diff: true, comment: true, time: 'timestamp', lang: 'fr', namespaces: { include: [], exclude: [] },   pages: [] }; // LastEdited END