On 10/11/09 5:36 PM, Aryeh Gregor wrote:
On Sat, Oct 10, 2009 at 5:56 PM, Michael
Peel<email(a)mikepeel.net> wrote:
Is it possible to find out how many times any
given image has been
viewed?
Modulo caching, I don't see why not. You'd need to process Squid logs
as for page views. I don't know if it's being done right now, though.
As far as I know it's not currently being done, but it certainly could be.
I actually got some interesting image view stats out of the sampled page
view logs for my talk at SVG Open; since thumbnails have the width in
the URL we can for instance compare the actual usage of different sizes
of images inline. (Though I only pulled up the data for SVG images for
this test.)
Annotated presentation slides are up at:
http://leuksman.com/pages/presentations#October_2009
It could be really interesting to pull such hit data straight out of the
logs and make them available through the wiki, allowing comparing view
frequencies of a given image over time and large vs small etc.
I have talked to Domas a couple of times (most recently Wikimania)
about the possibility of aggregating thumbnail views for images a la
his "wikistats". He is not too keen to do it...
You can approximate the same thing by combining CheckUsage with the
wikistats page views. You won't get the info about the size of the
thumbnail unless you do some extra hackery though.
Also, it's quite a pain as CheckUsage is only a toolserver tool, and
is subject to those usual vagaries of service.
I agree it would be great for Commons. All it needs is someone (with
access to squid logs) who shares that enthusiasm... I think??
cheers
Brianna
--
They've just been waiting in a mountain for the right moment: