Difference between revisions of "User:Daniil/valve.js"
(moved User:Daniil/valve.js to User:Daniil/wikify.js) |
(Fix) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | /* 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); |
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);