Hi, Thanks everybody for pinging me. I didn't even remember I forked that script there... Anyway, I looked into it and it seems to work again, except for two small details: * There are no images for 2013 yet. * The script expects all images to be in a single category. I didn't find a simple way to get images in a sub-category using the api, i.e. https://commons.wikimedia.org/w/api.php?action=query&generator=categorymembers&gcmtitle=Category:Images_from_Wiki_Loves_Monuments&prop=imageinfo&gcmlimit=500&gcmnamespace=6 doesn't work if images aren't directly in the main category. Any Ideas how I get them using the API without having to recursively go through all subcategories? https://www.mediawiki.org/wiki/API:Categorymembers doesn't help too much.
Please feel free to fork the script if you like, you can just grab it with wget. //Holger On Tue, Aug 27, 2013 at 8:42 PM, Vicenç Riullop <[email protected]>wrote: > Last year we had a nice widget showing last uploads > http://toolserver.org/~prolineserver/wlm/ Will it work for this edition > or does it need some update? > > Vicenç > > _______________________________________________ > Wiki Loves Monuments mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments > http://www.wikilovesmonuments.org > -- Styrelseledamot, kassör Wikimedia Sverige Box 500 SE-101 29 Stockholm Org.-nr. 802437-8310 http://www.wikimedia.se/
_______________________________________________ Wiki Loves Monuments mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments http://www.wikilovesmonuments.org
