Difference between revisions of "User:Daniil/valve.js"
(new script) |
|||
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 | ||
+ | document.getElementById("p-logo").childNodes[1].href = "/wiki/Main_Page/" + curlang; |
Revision as of 07:51, 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 document.getElementById("p-logo").childNodes[1].href = "/wiki/Main_Page/" + curlang;