User:Tarun365/common.js

importScript('User:Tarun365/miniproject1.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+")"); });