Brian Skinner | 15 Sep 00:29 2010
Picon

inprop=views from en.wikipedia.org -- page view counts for Wikipedia articles?

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/
Q | 15 Sep 03:37 2010
Picon

Re: inprop=views from en.wikipedia.org -- page view counts for Wikipedia articles?


On 9/14/2010 5:29 PM, Brian Skinner wrote:
> Hi,
> 
> I'm able to get page view counts on some sites, such as the wikia muppet site:
> But that's not working on en.wikipedia.org:

Wikia is not Wikimedia (Wikimedia is the foundation that runs Wikipedia,
Wikiquote, Wiktionary, etc)

> 
> 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?

Likely.

> + Is there some other API that I should look at for getting page counts?

Not that I know of off hand.

> + Should I ping Henrik about maybe screen-scraping from his
> stats.grok.se page traffic stats pages?

Or use the raw stats linked to at the bottom.
Roan Kattouw | 15 Sep 09:09 2010
Picon

Re: inprop=views from en.wikipedia.org -- page view counts for Wikipedia articles?

2010/9/15 Q <overlordq <at> gmail.com>:
>> 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?
>
> Likely.
>
inprop=views is not valid in core either. Looks like Wikia either
hacked this in themselves or added it using an extension.

Roan Kattouw (Catrope)
Picon

Re: inprop=views from en.wikipedia.org -- page view counts for Wikipedia articles?

+ Should I ping Henrik about maybe screen-scraping from his
stats.grok.se page traffic stats pages?

http://stats.grok.se/about says:

Q: Where does the data come from?
A: Domas Mituzas put together a system to gather access statistics from wikipedia's squid cluster and publishes it here. This site is a mere visualizer of that data.


On Wed, Sep 15, 2010 at 10:09 AM, Roan Kattouw <roan.kattouw <at> gmail.com> wrote:
2010/9/15 Q <overlordq <at> gmail.com>:
>> 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?
>
> Likely.
>
inprop=views is not valid in core either. Looks like Wikia either
hacked this in themselves or added it using an extension.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api



--
സ്‌നേഹാന്വേഷണങ്ങളോടെ,
സാദിക്ക് ഖാലിദ്
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Brian Skinner | 15 Sep 17:21 2010
Picon

Re: inprop=views from en.wikipedia.org -- page view counts for Wikipedia articles?

Thanks for all the info and pointers.  I'll get in touch with Domas and Henrik.

:o) Brian

On Wed, Sep 15, 2010 at 8:08 AM, സാദിക്ക് ഖാലിദ് Sadik Khalid
<sadik.khalid <at> gmail.com> wrote:
>> + Should I ping Henrik about maybe screen-scraping from his
>> stats.grok.se page traffic stats pages?
>
> http://stats.grok.se/about says:
>
> Q: Where does the data come from?
> A: Domas Mituzas put together a system to gather access statistics from
> wikipedia's squid cluster and publishes it here. This site is a mere
> visualizer of that data.
>
> On Wed, Sep 15, 2010 at 10:09 AM, Roan Kattouw <roan.kattouw <at> gmail.com>
> wrote:
>>
>> 2010/9/15 Q <overlordq <at> gmail.com>:
>> >> 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?
>> >
>> > Likely.
>> >
>> inprop=views is not valid in core either. Looks like Wikia either
>> hacked this in themselves or added it using an extension.
>>
>> Roan Kattouw (Catrope)
>>
>> _______________________________________________
>> Mediawiki-api mailing list
>> Mediawiki-api <at> lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>
>
> --
> സ്‌നേഹാന്വേഷണങ്ങളോടെ,
> സാദിക്ക് ഖാലിദ്
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api <at> lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Platonides | 15 Sep 23:28 2010
Picon

Re: inprop=views from en.wikipedia.org -- page view counts for Wikipedia articles?

Brian Skinner wrote:
> Thanks for all the info and pointers.  I'll get in touch with Domas and Henrik.
> 
> :o) Brian

No need to bother domas.
Just download from http://dammit.lt/wikistats/

Henrik may provide you already processed data, though.
Brian Skinner | 15 Sep 23:48 2010
Picon

Re: inprop=views from en.wikipedia.org -- page view counts for Wikipedia articles?

Yes, the already processed data seems like it would be a better fit
for my use case.  I only need monthly summary data, and only for 3,000
pages, so I don't want to abuse the dammit.lt server by doing a
monthly download of 720 files at about 60M each.

:o) Brian

On Wed, Sep 15, 2010 at 2:28 PM, Platonides <platonides <at> gmail.com> wrote:
> Brian Skinner wrote:
>> Thanks for all the info and pointers.  I'll get in touch with Domas and Henrik.
>>
>> :o) Brian
>
> No need to bother domas.
> Just download from http://dammit.lt/wikistats/
>
> Henrik may provide you already processed data, though.
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api <at> lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
Chad | 16 Sep 18:36 2010
Picon

Attention MediaWiki Hackers!

(sending to main tech lists, crossposted to Tech Blog[0], feel free to forward
anywhere else you'd like)

Greetings MediaWiki hackers!

I am pleased to announce the upcoming MediaWiki Hack-A-Ton in Washington, DC.

As you are all aware, every year in April our good friends at
Wikimedia Deutschland
host the annual "MediaWiki Developers Meetup" in Berlin. At that
event, the program
is focused on demonstrations, workshops and small group discussions. To
complement this, we're planning the DC meetup to be focused solely on hacking,
bugfixing and getting down and dirty with the code.

We're scheduling this for October 22nd-24th in Washington, DC. Some of
the details
haven't been ironed out yet, but will be announced over the coming
days as it is.
So clear your calendars, and keep your eyes on MediaWiki.org[1] and the mailing
lists for more information.

Some travel assistance may be available for those coming a long way. I've also
been told there will be swag of some sort for attendees :)

-Chad

[0] http://techblog.wikimedia.org/2010/09/hack-a-ton-dc/
[1] http://www.mediawiki.org/wiki/Hack-A-Ton_DC

_______________________________________________
Wikitech-l mailing list
Wikitech-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Aude | 16 Sep 19:40 2010
Picon

Re: Attention MediaWiki Hackers!

On Sep 16, 2010, at 12:36 PM, Chad <innocentkiller <at> gmail.com> wrote:

> (sending to main tech lists, crossposted to Tech Blog[0], feel free  
> to forward
> anywhere else you'd like)
>
> Greetings MediaWiki hackers!
>
> I am pleased to announce the upcoming MediaWiki Hack-A-Ton in  
> Washington, DC.

Very awesome that no travel is required!  I'm not a hardcore mediawiki  
contributor but would like to be more involved, can work on mapping  
and data capabilites, or on aspects of core code (If you want help  
with something)

>
> As you are all aware, every year in April our good friends at
> Wikimedia Deutschland
> host the annual "MediaWiki Developers Meetup" in Berlin. At that
> event, the program
> is focused on demonstrations, workshops and small group discussions.  
> To
> complement this, we're planning the DC meetup to be focused solely  
> on hacking,
> bugfixing and getting down and dirty with the code.
>
> We're scheduling this for October 22nd-24th in Washington, DC. Some of
> the details
> haven't been ironed out yet, but will be announced over the coming
> days as it is.
> So clear your calendars, and keep your eyes on MediaWiki.org[1] and  
> the mailing

> lists for more information.

What help do you need from local DC wikipedians?  Although we are not  
yet a chapter, we could perhaps help with getting a venue (though  
danese probably can handle it too) or other ways of helping organize.

>
> Some travel assistance may be available for those coming a long way.  
> I've also
> been told there will be swag of some sort for attendees :)

Cool :)

 <at> aude

>
>
> -Chad
>
> [0] http://techblog.wikimedia.org/2010/09/hack-a-ton-dc/
> [1] http://www.mediawiki.org/wiki/Hack-A-Ton_DC
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l <at> lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Chad | 16 Sep 23:44 2010
Picon

Re: [Wikitech-l] Attention MediaWiki Hackers!

On Thu, Sep 16, 2010 at 1:40 PM, Aude <aude.wiki <at> gmail.com> wrote:
> Very awesome that no travel is required!  I'm not a hardcore mediawiki
> contributor but would like to be more involved, can work on mapping
> and data capabilites, or on aspects of core code (If you want help
> with something)
>

Of course all developers are welcome! We're going to be tracking
bugs for that weekend using a new keyword in Bugzilla called
"bugsmash."

(That's also a general invitation for people to start targeting some
items for the Hack-A-Ton)

> What help do you need from local DC wikipedians?  Although we are not
> yet a chapter, we could perhaps help with getting a venue (though
> danese probably can handle it too) or other ways of helping organize.
>

I should've reached out to you guys a few weeks ago ;-) 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
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Gmane