[Mediawiki-api] Bug on querying revisions
Russell Blau
russblau at imapmail.org
Tue Jun 3 14:23:42 UTC 2008
This is not a bug. The page [[Tamilla Abasova]] has only one revision. You
are trying to find the revision history of its redirect target, [[Tamilla
Abassova]], I suspect, so you might want to add "&redirects" to your query.
Russ
----- Original Message -----
From: "S. Nunes" <snunes at gmail.com>
To: "MediaWiki API announcements & discussion"
<mediawiki-api at lists.wikimedia.org>
Sent: Tuesday, June 03, 2008 10:08 AM
Subject: [Mediawiki-api] Bug on querying revisions
Hi,
It seems that there is a bug on the MediaWiki API regarding querying
old revisions.
The following call to the API should return the first revision made to
the "Tamilla_Abasova" article.
http://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=ids&rvlimit=1&rvdir=newer&titles=Tamilla_Abasova
However, instead of returning 37099272 (the correct answer) the value
returned is 216581660 (the latest revision).
This problem seems to happen only when the article has a small number
of revisions.
Is this a known problem?
Where should I submit this bug report to?
--
Sérgio Nunes
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
More information about the Mediawiki-api
mailing list