2010/2/10 S. Nunes <[email protected]>: > Hi, > > Is it possible to know using the MediaWiki API when an article was > added to a given category? > More specifically, I'm looking for the dates when featured articles > where labeled as featured. > > If this turns out to be impossible via the API, how can this > information be obtained otherwise? > This data isn't really stored anywhere. There's a timestamp in the categorylinks table, but that's not totally reliable: if a vandal blanks the page and someone restores it, the latter edit will be considered as having added the category. I'm also not sure cl_timestamp correctly identifies the last edit that added the category in all cases anyway.
To obtain this timestamp (with limited usefulness as described above), use one of: http://en.wikipedia.org/w/api.php?action=query&prop=categories&clprop=timestamp&titles=Albert_Einstein http://en.wikipedia.org/w/api.php?action=query&list=categorymembers&cmprop=ids|title|timestamp&cmtitle=Category:1879_births Roan Kattouw (Catrope) _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
