User:Zahiranasrin/registration.js

//importScript("User:PleaseStand/userinfo.js"); //importScript('User:Dipankan001/Edit Count.js') mw.loader.using('mediawiki.api', function { var api = new mw.Api; api.get({ action: 'query', list: 'users', usprop: 'registration', ususers: 'Zahiranasrin', }).done( function(data){ // Function definition *only* console.log( '2' ); console.log( data ); }); // Means -> Start the API request, and run the code referred to by the name ‘requestSuccess’ when it is done. Don’t wait. console.log('1'); }); importScript('User:Endo999/common.js');