That could be the solution in some cases, like Lsjbot@svwiki some time ago.
 
But in this case:
http://sv.wikipedia.org/w/index.php?title=Wikipedia%3ABeg%C3%A4ran_om_%C3%A5tg%C3%A4rder&diff=16462059&oldid=16462056
translation: "ErfoedBot has no deleted edits."
 
/Ronnie
 
Från: Petr Onderka <gsvick@gmail.com>
Till: La Vallen <la.vallen@yahoo.se>; MediaWiki API announcements & discussion <mediawiki-api@lists.wikimedia.org>
Skickat: torsdag, 3 maj 2012 19:48
Ämne: Re: [Mediawiki-api] 174 more edits the last 180 days than she ever has done

Hi,

I think it's because both ways count different things. timeFrameEdits
counts all edits, but totalEdits counts only edits that are not
deleted.
This is because the UserDailyContribs extension counts the edit when
it is made and doesn't “uncount” it when it is deleted.

Petr Onderka
[[en:User:Svick]]

On Thu, May 3, 2012 at 6:50 PM, La Vallen <la.vallen@yahoo.se> wrote:
> Can you explain this:
>
> http://sv.wikipedia.org/w/api.php?action=userdailycontribs&user=ErfgoedBot&daysago=180&format=xml
>
> ErfoedBot has according to this made 6 edits totally on sv.wikipedia, but
> 140 last 180 days.
> All these 6 edits are made on one single user-page.
>
> Also strange is Perfect:
>
> http://sv.wikipedia.org/w/api.php?action=userdailycontribs&user=Perfect&daysago=180&format=xml
>
> According to this he has made 593 edits totally, and 4584 edits the last 180
> days.
> The typical behavior of Perfect is that he is doing a lot of edits in
> ns-project and ns-user.
>
> Have I missunderstod something about this api?
>
> /Ronnie
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>