Ad API talk:Main page#API and FlaggedRevs.
I think that function to check the selected article will be usefull. This function schuld returned: pageid, title, reviewed version id (+date, +author), most current version id (+date, +author).
Ad API talk:Main page#API and FlaggedRevs.
I think that function to check the selected article will be usefull. This function schuld returned: pageid, title, reviewed version id (+date, +author), most current version id (+date, +author).
You can check if the article is reviewed with this: - https://fi.wikipedia.org/w/api.php?action=query&prop=info|flagged&titles=Turku
If stable_revid=lastrevid then page is reviewed and it doesn't have pending changes If stable_revid!=lastrevid then page is reviewed and it have pending changes if there is no flagged information then page is unreviewed
However i don't think that you can get information of date + author of old version with single query.