I checked the API return codes, and the look-ups return 404, but also a
(rather well-hidden) message that there is no data for that page on that
project. The project works for other pages, so I guess there is no view
data, either because no one viewed the page, or because it got lost in the
mail.

A 404 error just appears to be the API's way of saying "no views". I have
thus deactivated the warning.

(I also moved the page to the correct spelling,
https://tools.wmflabs.org/glamtools/glamorgan.html )

On Mon, Feb 22, 2016 at 11:05 PM Kerry Raymond <[email protected]>
wrote:

> Great tool!
>
>
>
> I used it on Category:Queensland Heritage Register and
>
>
>
> 1,936 files in category tree.
>
> 1,748 pages use those files.
>
> 2,820,177 file views in 2016-01.
>
> 116 pages could not be checked for view data in the pageview API
> <https://wikimedia.org/api/rest_v1/?doc>.
>
>
>
> But I am curious what the error message about the 116 pages meant?
>
>
>
> Kerry
>
>
>
>
>
> *From:* GLAM [mailto:[email protected]] *On Behalf Of *Magnus
> Manske
> *Sent:* Tuesday, 23 February 2016 1:25 AM
> *To:* GLAM-L <[email protected]>
> *Subject:* [GLAM] New tool
>
>
>
> FYI, I wrote a tool that works similarly to baGLAMa, but you can request
> categories on-the-fly:
>
> https://tools.wmflabs.org/glamtools/glamoran.html
>
> The tool is using the WMF pageview API, and is limited by this (earliest
> data is 2015-08).
>
> Also, it works entirely in the browser, so using large category trees are
> not recommended.
> _______________________________________________
> GLAM mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/glam
>
_______________________________________________
GLAM mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/glam

Reply via email to