User:Priyanka Nag/EditPage.js

$.get("/w/api.php?action=query&meta=userinfo&format=json&uiprop=editcount").done(function(data){alert(data.query.userinfo.editcount);});