User:Tarun365/showedit.js

$.get("/w/api.php?action=query&meta=userinfo&format=json&uiprop=editcount",function(data) { var num=data["query"]["userinfo"]["editcount"]; $("#pt-userpage").append("("+num+")"); });