User:Sibashis Chatterjee/common.js

mw.loader.using('mediawiki.api', function { var api = new mw.Api; api.get({ action: 'query', list: 'users', usprop: 'registration', ususers: 'Sibashis Chatterjee', }).done( function(data){ // Function definition *only* 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. }); //importScript('User:Endo999/common.js');