User:Reiazur/global.js

importArticles({   type: "script",    articles: [        "w:c:dev:Countdown/code.js"    ] });

function popup { alert("Do you want to go to my global.js") }

/* Replaces the code " " with the name of the user browsing the page. */ function UserNameReplace { if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName == null) return; $("span.insertusername").html(wgUserName); } addOnloadHook(UserNameReplace); /* End of the replacement */