Hi Rüdiger,

you can use the static AFT data dumps [1] or if you have access to the 
toolserver you can directly query the article_feedback table. Queries on the 
toolserver based on article name or ID or timestamp are pretty slow because 
there is currently no index on these fields, but we requested a change that 
should hopefully be implemented soon [2].

Hope this helps

Best,
Dario

[1] http://www.mediawiki.org/wiki/Article_feedback/Data
[2] https://jira.toolserver.org/browse/TS-1106

On Aug 24, 2011, at 4:24 AM, Rüdiger Gleim wrote:

> Hello,
> I would like to take a sample from the english wikipedia based on page 
> ratings. This requires to extract all page ratings and then pick the 
> best according to specific feedback-labels. There does not seem to be an 
> api call to filter pages directly via their rating. So my approach would 
> be to get all page ratings and then apply my filter criteria. The api 
> calls to access feedback only seem to allow one page per call- which 
> results in a lot of calls ;-). Example:
> 
> http://en.wikipedia.org/w/api.php?action=query&list=articlefeedback&afpageid=1000&format=xml
> 
> Does anybody know a more polite way to get this information? I have 
> checked the dumps but could not found a suitable archive (at least given 
> by the names).
> 
> Best wishes,
> 
> Rüdiger
> 
> _______________________________________________
> Wiki-research-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wiki-research-l


_______________________________________________
Wiki-research-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wiki-research-l

Reply via email to