User:The Editor's Apprentice/vector.js

if (mw.config.get('skin') === 'vector') { /*Hide custom links to portlets Learn more about how portlets work at wikt:en:User:The Editor's Apprentice/common.js This function is documented at	https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.util-method-hidePortlet */ $.when( mw.loader.using( 'mediawiki.util' ), $.ready ).then( function { 	   // General usage:	    mw.util.hidePortlet( portletId );	} ); var removeElement = mw.util.hidePortlet(		'pt-watchlist'	); var removeElement = mw.util.hidePortlet(		'pt-betafeatures'	); }