User:Fwy/global.js

importScriptPage('Usuário:Fwy/vandalismo.js', 'does');

importArticles({   type: 'script',    articles: [        'u:dev:Message/code.js',        'u:dev:Translator/Translator.js',        'u:dev:AjaxPatrol/code.js',        'u:dev:AutoEditDropdown/code.js',        'u:dev:FastDelete/code.js',    ] });

if ( wgPageName == "Especial:Chat" ) { importScriptPage('Usuário:Fwy/globalchat.js', 'does'); };

window.onload = mudUrl; function mudUrl { var cls = document.getElementsByClassName("avatar-container"); var tagN = cls[0].getElementsByTagName("img")[0]; var rep = tagN.src.replace(tagN.src.substr(-48), ""); tagN.src = rep; tagN.setAttribute("width", "28px"); tagN.setAttribute("height", "28px"); }