2010/2/10 S. Nunes snunes@gmail.com:
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&clpro... http://en.wikipedia.org/w/api.php?action=query&list=categorymembers&...
Roan Kattouw (Catrope)