15 Sep 2010 00:29
inprop=views from en.wikipedia.org -- page view counts for Wikipedia articles?
Brian Skinner <bskinner <at> google.com>
2010-09-14 22:29:51 GMT
2010-09-14 22:29:51 GMT
Hi, I'm looking for help using the MediaWiki API to get some page view counts. I'm able to get page view counts on some sites, such as the wikia muppet site: http://muppet.wikia.com//api.php?action=query&prop=info&titles=Beaker&inprop=views But that's not working on en.wikipedia.org: http://en.wikipedia.org/w/api.php?action=query&titles=Health&prop=info&inprop=views That gives an error message that says: "Unrecognized value for parameter 'inprop': views". A few questions: + Does that error message happen because Wikipedia is configured with $wgDisableCounters=true, or am I doing something wrong? + Is there some other API that I should look at for getting page counts? + Should I ping Henrik about maybe screen-scraping from his stats.grok.se page traffic stats pages? Thanks, I appreciate any help you can give me. I'm doing this work as part of the Health Speaks effort to translate health information into more languages, and we want to get a sense of how useful the newly translated pages turn out to be. Brian Skinner Health Speaks, Google.org http://sitescontent.google.com/healthspeaks/
The venue
is almost settled--hopefully will have an information to share about
that this evening. I might need a hand the day before (I will be driving
up the 21st) to help me get things organized and ready for everyone's
arrival on the 22nd.
-Chad
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api <at> lists.wikimedia.org
RSS Feed