The API should stick to as simple as possible, with raw data.
Therefore, I've conceived this "bridge" which just reads (and caches)
from the API and puts the links where they're due.
You can use that one directly. Delay may reach up to 15 minutes, I
believe (Commons->API->website), rough estimate.
--
Nuno Tavares
Wikimedia Portugal
http://www.wikimedia.pt
Imagine um mundo onde é dada a qualquer pessoa a possibilidade de ter
livre acesso ao somatório de todo o conhecimento humano. É isso o que
estamos a fazer.
Participe também:
http://www.wikimedia.pt
Em 14-09-2011 13:20, Lodewijk escreveu:
> Hi Nuno,
>
> thanks for the update! I remember that in the old version, the countries
> were clickable to give you stats per country - would that be again
> possible? :)
>
> Thanks,
> Lodewijk
>
> Am 14. September 2011 12:19 schrieb Nuno Tavares
> <nuno.tavares@wikimedia.pt
mailto:nuno.tavares@wikimedia.pt>:
>
> Strainu,
>
> I've already stated that ranking.php has problems. I found late some
> weird behaviours from mediawiki (like Rotatebot appearing as the image
> uploader, which is not correct) so I had to apply some "emergency"
> measures which didn't work quite well either. I didn't state "new users"
> which an important detail in my opinion.
>
> That's why you probably heard about statistics v2 already:
>
>
http://toolserver.org/~ntavares/patrimonio/api/api.php?action=statisticsct&a...
>
http://toolserver.org/~ntavares/patrimonio/api/api.php?action=statisticsct&format=html&ctscope=country
>
> I believe these are nearly complete and absolutely more precise. As a
> consequence, everything at this URL (scope=user, dump, etc) is.
>
> Please give me your feedback regarding the tool.
>
> --
> Nuno Tavares
> Wikimedia Portugal
>
http://www.wikimedia.pt
>
> Imagine um mundo onde é dada a qualquer pessoa a possibilidade de ter
> livre acesso ao somatório de todo o conhecimento humano. É isso o que
> estamos a fazer.
>
> Participe também:
http://www.wikimedia.pt
>
> Em 13-09-2011 21:53, Strainu escreveu:
> > Hi Nuno,
> >
> > Could you please explain the limitations of your tool?
> >
> > I thought you just take the last person that modified the page, but
> > I'm looking at
>
http://toolserver.org/~erfgoed/tools/rankings.php?limit=30&show=images%7...
>
http://toolserver.org/~erfgoed/tools/rankings.php?limit=30&show=images|links&country=Romania
> > and I see the following:
> >
> > - I have 76 files credited to my account, however
> >
>
http://commons.wikimedia.org/w/index.php?limit=50&user=Strainu&title...
>
http://commons.wikimedia.org/w/index.php?limit=50&user=Strainu&title=Special%3AListFiles%2FStrainu
> > shows that I have under 50 actually uploaded
> > - I edited all but one of this user's files:
> >
http://commons.wikimedia.org/wiki/Special:ListFiles/Adinecsoi , but
> > they are still credited to her
> > - I also edited several other files of this user:
> >
http://commons.wikimedia.org/wiki/Special:ListFiles/Korinna And it
> > appears she is credited with less than the total number of photos (as
> > far as I can tell, all her uploads are in the contest)
> >
> > I would love if you could clarify this for me.
> >
> > Thanks,
> > Strainu
> >
> > 2011/9/5 <nuno.tavares@wikimedia.pt
>
mailto:nuno.tavares@wikimedia.pt>:
> >> Errmmmm, *cof* I forgot to update ~erfgoed/tools. Try again
> Vicenç (and
> >> Lodewijk).
> >>
> >> In any case, more interesting (and thorough) statistics will come
> during
> >> this week (I hope), this was just for fun.
> >>
> >> -NT
> >>
> >>
> >>
> >> On Mon, 5 Sep 2011 08:13:17 +0000, Vicenç Riullop
> <vriullop@hotmail.com
mailto:vriullop@hotmail.com>
> >> wrote:
> >>
> >> Seems it doesnt work with Spain either.
> >> Now,
> >>
>
http://toolserver.org/~erfgoed/tools/rankings.php?limit=30&show=images%7...
>
http://toolserver.org/~erfgoed/tools/rankings.php?limit=30&show=images|links&country=Spain
> >> returns user Pere prlpz with 148 submissions and he doesnt appear
> in the
> >> global list.
> >>
> >> Anyway, good work, Nuno.
> >>
> >> Vicenç
> >>
> >>> Date: Mon, 5 Sep 2011 08:27:25 +0100
> >>> From: nuno.tavares@wikimedia.pt
mailto:nuno.tavares@wikimedia.pt
> >>> To: wikilovesmonuments@lists.wikimedia.org
>
mailto:wikilovesmonuments@lists.wikimedia.org
> >>> Subject: Re: [Wiki Loves Monuments] New tool: rankings
> >>>
> >>> Thanks Lodewijk,
> >>>
> >>> It had to do with bot filtering. It should be OK now.
> >>>
> >>> --
> >>> Nuno Tavares
> >>> Wikimedia Portugal
> >>>
http://www.wikimedia.pt
> >>>
> >>> Imagine um mundo onde é dada a qualquer pessoa a possibilidade
> de ter
> >>> livre acesso ao somatório de todo o conhecimento humano. É isso
> o que
> >>> estamos a fazer.
> >>>
> >>> Participe também:
http://www.wikimedia.pt
> >>>
> >>> Em 05-09-2011 07:59, Lodewijk escreveu:
> >>>> Hi Nuno,
> >>>>
> >>>> thanks for the work! It seems that the full overview of
> uploaders is not
> >>>> error free. I.e.
> >>>> in
> >>>>
>
http://toolserver.org/~erfgoed/tools/rankings.php?limit=30&show=images%7...
>
http://toolserver.org/~erfgoed/tools/rankings.php?limit=30&show=images|links&country=the_Netherlands
> >>>> Spider
> >>>> has now 219 uploads for NL, but
> >>>> on
http://toolserver.org/~erfgoed/tools/rankings.php he doesn't
> appear
> >>>> at all.
> >>>>
> >>>> Interesting to see by the way how some countries have such higher
> >>>> averages of photos per uploader :)
> >>>>
> >>>> Lodewijk
> >>>>
> >>>> Am 5. September 2011 05:02 schrieb Nuno Tavares
> >>>>> :
> >>>>
> >>>> I see I'm not the only statsanatic :)
> >>>>
> >>>> I've commited the tool, please use the official URL:
> >>>>
http://toolserver.org/~erfgoed/tools/rankings.php
> >>>>
> >>>> Examples:
> >>>>
> >>>>
> >>>>
>
http://toolserver.org/~erfgoed/tools/rankings.php?&show=images%7Clinks&a...
>
http://toolserver.org/~erfgoed/tools/rankings.php?&show=images|links&scope=country
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
>
http://toolserver.org/~erfgoed/tools/rankings.php?limit=10&show=images%7...
>
http://toolserver.org/~erfgoed/tools/rankings.php?limit=10&show=images|links&country=Portugal
> >>>>
> >>>>
> >>>> --
> >>>> Nuno Tavares
> >>>> Wikimedia Portugal
> >>>>
http://www.wikimedia.pt
> >>>>
> >>>> Imagine um mundo onde é dada a qualquer pessoa a possibilidade
> de ter
> >>>> livre acesso ao somatório de todo o conhecimento humano. É isso
> o que
> >>>> estamos a fazer.
> >>>>
> >>>> Participe também:
http://www.wikimedia.pt
> >>>>
> >>>> Em 04-09-2011 21:53, M escreveu:
> >>>>> Thirded, very cool!
> >>>>>
> >>>>> ---------------
> >>>>> María Sefidari
> >>>>> Wikimedia España
> >>>>>
http://www.wikimedia.org.es
> >>>>> Mensaje enviado desde mi iTouch
> >>>>>
> >>>>> El 04/09/2011, a las 22:04, Jan Ainali > >
> >>>>>>>
> >>>> escribió:
> >>>>>
> >>>>>> I second that, nice work!!
> >>>>>>
> >>>>>> 2011/9/4 Jane Darnell <> > >jane023@gmail.com
>
mailto:jane023@gmail.com
> >>>>>>>>
> >>>>>>
> >>>>>> Nuno,
> >>>>>> I love it - keep the statistics coming, I like the way you think!
> >>>>>> Jane
> >>>>>>
> >>>>>>
> >>>>>> 2011/9/4 Nuno Tavares
> >>>>>> <> > >nuno.tavares@wikimedia.pt
>
mailto:nuno.tavares@wikimedia.pt
> >>>>
> >>>>>>>>>>
> >>>>>>
> >>>>>> Now, the rankings per country (parameter scope):
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>>
>
http://toolserver.org/~ntavares/patrimonio/tools/rankings.php?&show=imag...
>
http://toolserver.org/~ntavares/patrimonio/tools/rankings.php?&show=images|links&scope=country
> >>>>
> >>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Nuno Tavares
> >>>>>> Wikimedia Portugal
> >>>>>>
http://www.wikimedia.pt
> >>>>>>
> >>>>>> Imagine um mundo onde é dada a qualquer pessoa a
> >>>> possibilidade
> >>>>>> de ter
> >>>>>> livre acesso ao somatório de todo o conhecimento humano. É
> >>>>>> isso o que
> >>>>>> estamos a fazer.
> >>>>>>
> >>>>>> Participe também:
> >>>>
http://www.wikimedia.pt
> >>>>>>
> >>>>>> Em 04-09-2011 20:30, Nuno Tavares escreveu:
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>>
>
http://toolserver.org/~ntavares/patrimonio/tools/rankings.php?limit=10&s...
>
http://toolserver.org/~ntavares/patrimonio/tools/rankings.php?limit=10&show=images|links
> >>>>
> >>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Clicking on a country (Portugal):
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>>
>
http://toolserver.org/~ntavares/patrimonio/tools/rankings.php?limit=10&s...
>
http://toolserver.org/~ntavares/patrimonio/tools/rankings.php?limit=10&show=images|links&country=Portugal
> >>>>
> >>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> If you notice Accepted column: for Portugal we review the
> >>>>>> images and,
> >>>>>>> after that, they are placed in "Reviewed images from
> >>>>>> WLM...". If you
> >>>>>>> have a similar approach I can tweak the script to
> >>>>>> personalize it. It
> >>>>>>> would be better to unify the categories' names, though...
> >>>>>> Which ones are
> >>>>>>> yours?
> >>>>>>>
> >>>>>>> PS: I didn't notice the reuploads (e.g. by Rotatebot) would
> >>>>>> scramble
> >>>>>>> things a bit, so I excluded the bots from this - admitting
> >>>>>> noone would
> >>>>>>> reupload other one's image. So please report if you see
> >>>>>> something in error.
> >>>>>>>
> >>>>>>> -NT
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> Wiki Loves Monuments mailing list
> >>>>>>>
> >>>>>>>>> WikiLovesMonuments@lists.wikimedia.org
>
mailto:WikiLovesMonuments@lists.wikimedia.org
> >>>>
> >>>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> >>>>>>>
> >>>>>>
> >>>>
http://www.wikilovesmonuments.eu
> >>>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Wiki Loves Monuments mailing list
> >>>>>>>>> WikiLovesMonuments@lists.wikimedia.org
>
mailto:WikiLovesMonuments@lists.wikimedia.org
> >>>>
> >>>>>>>>>
> >>>>>>
> >>>>
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> >>>>>>
> >>>>
http://www.wikilovesmonuments.eu
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Wiki Loves Monuments mailing list
> >>>>>>>>> WikiLovesMonuments@lists.wikimedia.org
>
mailto:WikiLovesMonuments@lists.wikimedia.org
> >>>>
> >>>>>>>>>
> >>>>>>
> >>>>
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> >>>>>>
> >>>>
http://www.wikilovesmonuments.eu
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Med vänliga hälsningar
> >>>>>> Jan Ainali
> >>>>>> Ordförande, Wikimedia Sverige
> >>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Wiki Loves Monuments mailing list
> >>>>>> WikiLovesMonuments@lists.wikimedia.org
>
mailto:WikiLovesMonuments@lists.wikimedia.org
> >>>>
> >>>>>>>>>
> >>>>>>
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> >>>>>>
http://www.wikilovesmonuments.eu
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Wiki Loves Monuments mailing list
> >>>>> WikiLovesMonuments@lists.wikimedia.org
>
mailto:WikiLovesMonuments@lists.wikimedia.org
> >>>>
> >>>>>
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> >>>>>
http://www.wikilovesmonuments.eu
> >>>>
> >>>> _______________________________________________
> >>>> Wiki Loves Monuments mailing list
> >>>> WikiLovesMonuments@lists.wikimedia.org
>
mailto:WikiLovesMonuments@lists.wikimedia.org
> >>>>
> >>>>
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> >>>>
http://www.wikilovesmonuments.eu
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Wiki Loves Monuments mailing list
> >>>> WikiLovesMonuments@lists.wikimedia.org
>
mailto:WikiLovesMonuments@lists.wikimedia.org
> >>>>
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> >>>>
http://www.wikilovesmonuments.eu
> >>>
> >>> _______________________________________________
> >>> Wiki Loves Monuments mailing list
> >>> WikiLovesMonuments@lists.wikimedia.org
>
mailto:WikiLovesMonuments@lists.wikimedia.org
> >>>
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> >>>
http://www.wikilovesmonuments.eu
> >>
> >>
> >>
> >> _______________________________________________
> >> Wiki Loves Monuments mailing list
> >> WikiLovesMonuments@lists.wikimedia.org
>
mailto:WikiLovesMonuments@lists.wikimedia.org
> >>
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> >>
http://www.wikilovesmonuments.eu
> >>
> >
> > _______________________________________________
> > Wiki Loves Monuments mailing list
> > WikiLovesMonuments@lists.wikimedia.org
>
mailto:WikiLovesMonuments@lists.wikimedia.org
> >
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
> >
http://www.wikilovesmonuments.eu
>
> _______________________________________________
> Wiki Loves Monuments mailing list
> WikiLovesMonuments@lists.wikimedia.org
>
mailto:WikiLovesMonuments@lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
>
http://www.wikilovesmonuments.eu
>
>
>
>
> _______________________________________________
> Wiki Loves Monuments mailing list
> WikiLovesMonuments@lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
>
http://www.wikilovesmonuments.eu