User:ZLEA/MMSLink.js

// MMSLink v1.2 // Install with: // // or with //  // // This script is based on User:DannyS712/New pages feed.js by User:DannyS712 and User:Danski454/ReviewWarn.js by User:Danski454 mw.loader.using( 'mediawiki.util' ).done( function {	if( mw.config.get( 'wgUserGroups' ) !== null && ( mw.config.get( 'wgUserGroups' ).indexOf('sysop') !== -1 || mw.config.get( 'wgUserGroups' ).indexOf('massmessage-sender') !== -1 )){	mw.util.addPortletLink('p-interaction', mw.config.get( 'wgServer' ) + '/wiki/Special:MassMessage', 'Send mass message', 'n-mms', 'Send mass message');	$( '#n-recentchanges' ).parent.append( $( '#n-mms' ) );	}});