User:Syunsyunminmin/userrightmanager.js

var username = mw.config.get('wgRelevantUserName'); var params = { action: 'query', format: 'json', list: 'recentchanges', formatversion: '2', rcuser: username, rcprop: 'title|ids', rclimit: '10', rctype: 'edit', rctitle: 'TestWiki:Request permissions' },	api = new mw.Api;

api.get( params ).done( function ( data ) {	var recentchanges = data.query.recentchanges,		rc;	for ( rc in recentchanges ) {		console.log( recentchanges[ rc ].title );	} } );