User:Nardog/MoveHistoryClassic.js

mw.config.get('wgAction') === 'history' && document.querySelector('#p-tb') && mw.loader.using('mediawiki.util', function moveHistory {	let link = mw.util.addPortletLink('p-tb', '#', 'Move history', 't-movehistory');	link.firstElementChild.addEventListener('click', e => { mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/MoveHistoryClassic-core.js&action=raw&ctype=text/javascript'); link.remove; e.preventDefault; }); });