I would like to display number of edits / contribution on user page. Is there any way to do that?
I tried to use link mentioned here: http://en.wikipedia.org/wiki/Help:User_contributions
So if follow that, I got a URL something like this:
http://ourdomain/api.php?action=query&list=users&ususers=MYUSERNAME&usprop=editcount
And if I use it, it shows me a page with correct edit count. But it shows as XML like:
<?xml version="1.0"?>
<api>
<query>
<users>
<user name="USERNAME" editcount="728" />
</users>
</query>
</api>
On this XML page, I can see the correct edit count. But I just want to display it as a count on a different page. Something like "Total number of edits: 728". We are using MediaWiki 1.15.5-7.