User:MechaUltimaZero/global.js

function restoreWatchlistLink { var wlLink      = document.createElement('a'); wlLink.href     = '/wiki/Special:Watchlist'; wlLink.title    = 'Your watchlist'; wlLink.innerHTML = "My watchlist"; var wlObj       = document.createElement('span'); wlObj.id        = 'header_mywatchlist'; wlObj.appendChild(wlLink); document.getElementById('userData').insertBefore(wlObj, document.getElementById('header_mytalk').nextSibling); } addOnloadHook(restoreWatchlistLink);