User:Anomyq/vector-2022.js

if(document.body.className.includes("page-Main_Page")){ var pageHeader = document.getElementsByClassName("vector-page-titlebar")[0]; var translateButton = document.getElementById("p-lang-btn"); pageHeader.appendChild(translateButton); }

mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Yair_rand/WikidataInfo.js&action=raw&ctype=text/javascript');