2013/2/13 Stefano Costa steko@iosa.it:
Io ho pensato a una cosa così (scusate se è in inglese, lo avevo già sottoposto ai coordinatori del progetto)
Now I think I found a possible elegant way to achieve this objective.
Starting point is here:
http://www.mediawiki.org/wiki/API:Categorymembers
with a default example at:
http://en.wikipedia.org/w/api.php?action=query&list=categorymembers&...
Even though it is not evident from the example, the "sortkey" attribute is what could help us. Basically, when one image is added to a category on MediaWiki, the syntax used on the page is:
[[Category:Pleiades images]]
And the image (or page) will be listed on the category page according to the alphabetic sorting on the page name. However, this default behaviour can be tweaked by using a "sort key", as described in detail here: http://meta.wikimedia.org/wiki/Help:Category#Sort_order and one can imagine a syntax like:
[[Category:Pleiades images|depicts=157802]] # a "random" place
The category page on Wikimedia Commons would not be tremendously useful, but the query API is totally awesome and it could be used to run a weekly/monthly run, caching image URLs locally and associating them to places.
Ogni luogo è identificato univocamente in Pleiades dall'id numerico (in modo simile a OpenStreetMap). Per certi versi questa soluzione può essere una versione "artigianale" di quella proposta da Christian.
La mia domanda è se questo può essere visto come un "abuso" di Commons
Allora, dipende cosa ci deve andare adesso in quel paramentro "depicts=..."
Credo che la cosa più semplice sia creare un template del tipo: {{Pleiades|12345}} e usare questo per taggare le foto.
A quel punto basta usare un bot analogo a quello di Wiki Loves Monuments (che linkavo prima). Se esiste un database da cui prendere quei codici (e mi pare di avere capito che Pleiades ce l'abbia) questa mi pare la soluzione più pulita in quanto non si sovrappone di sicuro a nulla di già esistente.
oppure se è consentito. Idealmente cose di questo genere potrebbero essere gestite da Wikidata... vedremo :-)
AFAICT Wikidata per ora è pensato solo per Wikipedia, quindi credo che bisognerà aspettare un po' per vedere come (e se) si interfaccerà con gli altri progetti.
Grazie! Ecco una delle foto che mi piacerebbe poter taggare! http://commons.wikimedia.org/wiki/File:Bonfils,_F%C3%A9lix_%281831-1885%29_-...
Bello!
C