User:Verdatum/monobook.js

importScript('User:AzaToth/twinkle.js'); importScript('User:Ais523/watchlistnotifier.js'); importScript('User:Ais523_non-admin/adminrights.js'); if (mw.config.get('wgCanonicalSpecialPageName') && mw.config.get('wgCanonicalSpecialPageName')=='Watchlist' && mw.config.get('wgAction')=='view') $(function { var frm = document.getElementsByTagName('form')[0] frm.parentNode.insertBefore(document.createTextNode(' | '), frm) var lnk = document.createElement('a') lnk.appendChild(document.createTextNode('Unwatch…')) lnk.href = 'javascript:importScript("User:Alex_Smotrov/wlunwatch.js")' frm.parentNode.insertBefore(lnk, frm) })