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" <[EMAIL PROTECTED]> To: "MediaWiki API announcements & discussion" <[email protected]> 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
