Difference between revisions of "User:Daniil/valve.js"
(Fix) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | /* Wikify script*/ | ||
importScript("User:Daniil/wikify.js"); | importScript("User:Daniil/wikify.js"); | ||
+ | |||
+ | /* Following script localize Main Page link to you native language */ | ||
+ | var curlang = "ru" // Replace with your langauage | ||
+ | function changeLogoLang () { | ||
+ | document.getElementById("p-logo").childNodes[1].href = "/wiki/Main_Page/" + curlang; | ||
+ | } | ||
+ | |||
+ | addOnloadHook(changeLogoLang); |
Latest revision as of 07:56, 14 June 2011
/* Wikify script*/ importScript("User:Daniil/wikify.js"); /* Following script localize Main Page link to you native language */ var curlang = "ru" // Replace with your langauage function changeLogoLang () { document.getElementById("p-logo").childNodes[1].href = "/wiki/Main_Page/" + curlang; } addOnloadHook(changeLogoLang);