User:Freddy9/common.js

// give en direct link

let heLangLink = document.querySelector(".interlanguage-link a[lang=he]");

if (heLangLink) { // Clone the English link let heLangClone = heLangLink.cloneNode(true); // Update the text to Hebrew heLangClone.textContent = heLangClone.title; heLangClone.style.fontSize='small' // Append the cloned link to the language links section document.getElementsByClassName("vector-page-titlebar")[0].append(heLangClone); }