15:1215:12, 13 May 2024diffhist+431 N
User:AbsoluteWissen/monobook.js
←Created page with '// Move history to menu bar in MonoBook var pageHistory = document.getElementById('mm-page-history'); var outerUl = document.querySelector('.pBody > ul'); var listItems = outerUl.querySelectorAll('li'); if (pageHistory && outerUl) { pageHistory.className = 'mw-list-item'; if (listItems.length >= 5) { outerUl.insertBefore(pageHistory, listItems[4]); } else { outerUl.appendChild(pageHistory); } }'