User:WikiaPhoenix/global.js

// Abbreviates the title of the edit summary if the minor edit checkbox is available. if (document.getElementById('wpMinoredit') !== null){ document.getElementsByClassName("wpSummary_canMinorEdit")[0].innerHTML = "Redigeringssammanfattn."; }

// Translates the title of the Top Pages box. document.getElementsByClassName("top-wiki-main header-test-1")[0].innerHTML = "Populäraste sidorna";

// Translates the left navigation bar in the search results. document.getElementsByClassName("articles")[0].innerHTML = "Artiklar"; document.getElementsByClassName("photos-and-videos")[0].innerHTML = "Foton och videor"; document.getElementsByClassName("people")[0].innerHTML = "Personer";