User:Anomie/common.js

importScriptURI('//en.wikipedia.org/w/index.php?title=User:Anomie/watchlist-change-style-selector.js&action=raw&ctype=text/javascript'); importStylesheetURI('//en.wikipedia.org/w/index.php?action=raw&ctype=text/css&title=User:Anomie/watchlist-change-style-selector.css');

// Remove translation extension watchlist spam $( function {	if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Watchlist' ) {		$( 'a[title="Special:Log/pagetranslation"]' ).closest('li').remove;		var e = $( '.mw-changeslist ul:not(:has(li))' );		e = e.add( e.prevUntil( 'h4' ) )		e = e.add( e.prev )		e.remove	} } )