importScript('User:AzaToth/twinkle.js');
importScript('User:MarkS/extraeditbuttons.js');
importScript('User:TheDJ/Gadget-HotCat.js');
importScript('User:Voice_of_All/Addtabs/monobook.js');
importScript('User:Dr_pda/prosesize.js');
function addTab(url, name, id, title, key) {
return mw.util.addPortletLink('p-cactions', url, name, id, title, key);
}
function addToolboxLink(url, name, id) {
return mw.util.addPortletLink('p-tb', url, name, id);
}
// Code originally by [[User:Raylu|raylu]]
// Modified by [[User:Moeron]]
// This script adds a "subst:welcome2" tab to the top of User pages
// when in edit mode.
function dowelcome2() {
document.editform.wpTextbox1.value = document.editform.wpTextbox1.value '{' '{' 'subst' ':' 'W-graphical' '}' '}';
document.editform.wpSummary.value = 'welcome from [[User:Mukkakukaku|Mukk]] on behalf of the [[Wikipedia:Welcoming committee/Welcome to Wikipedia|Wikipedia Welcoming Committee]]';
document.editform.wpMinoredit.checked = false;
document.editform.submit();
}
function addwelcome2() {
addTab("javascript:dowelcome2()", "subst:W-graphical", "ca-W-graphical", "subst:W-graphical", "");
akeytt();
}
$(function() {
if (document.title.indexOf("User:") != -1 || document.title.indexOf("User talk:") != -1) {
addOnloadHook(addwelcome2);
}
});
importScript('User:Lightmouse/monobook.js/script.js');