User:Music1201/RMHelper.js

function addEditIntro( name ) { $( '.mw-editsection, #ca-edit' ).find( 'a' ).each( function ( i, el ) {       el.href = $( this ).attr( 'href' ) + '&editintro=' + name;    } ); }

$( function {        var cats = mw.config.get('wgCategories');        if ( !cats ) {            return;        }        if (mw.config.get( 'wgCategories' ) === 'Requested moves') {            addEditIntro( 'User:Music1201/IntroNoticeTemplates/RMHelper' );        }    } ); }

/* End of mw.loader.using callback */ } ); /* DO NOT ADD CODE BELOW THIS LINE */