User:Meco/monobook.js

if ( mw.config.get('wgPageName') === "Special:Watchlist" ) { mw.util.addPortletLink( 'p-tb', '#', 'Expand all changes', 'wl-expand-all' ); $('#wl-expand-all').click( function (e) {      e.preventDefault;       $('.mw-collapsible-toggle').click;   }); }