This "commonscat" in the table refers to the "commonscat of the
monument", not the commonscat of the list.
I've been filling locally this paramater with a bot. The logic is: checking the
categories of the images in the list, if any of them is a subcategoy of the
"commonscat of the list" then probably this is the "commonscat of the
monument". If the monument has an article linked, the commonscat of the article is
fine as well.
Vicenç
From: kikkocristian(a)gmail.com
Date: Wed, 16 Jan 2013 12:15:51 +0100
To: wikilovesmonuments(a)lists.wikimedia.org
Subject: Re: [Wiki Loves Monuments] Commons categories now in the database
2013/1/13 Maarten Dammers <maarten(a)mdammers.nl>nl>:
Hi everyone,
I noticed quite a few Wikipedia's included a Commons link in their monument
lists (almost 40.000 entries at
https://commons.wikimedia.org/wiki/Commons:Monuments_database/Statistics). I
went ahead and included a new field "commonscat" for each entry in the main
table. For existing entries I mapped it, for all the other lists I added
commonscat as a field. It's now being used by the categorization bot.
For example with
https://nl.wikipedia.org/w/index.php?title=Lijst_van_rijksmonumenten_aan_de…
I told the bot that all images with id "5940" should be put in
https://commons.wikimedia.org/wiki/Category:Nieuwe_Kerk_%28Amsterdam%29 . I
haven't actually changed the template at the Dutch Wikipedia yet, that's
something for later.
Hi Maarten,
Thank you for this improvement.
As you know Italian monuments' lists are organized by region, so every
sublist has a link to the Commons category [[Category:Cultural
heritage monuments in <region-name>]]. But in the database[1], under
"commoscat" says 0. Why is it like this? Am I missing something?
Another thing I have not completely understood is how can you tell the
category of single monuments (like the church above), for example in
the Italian list some monuments have a category on their own (see, for
example [2]) which is, obviously, more precise than the general
category "Cultural heritage monuments in <region-name>". Should we had
to these entries a commonscat field with the precise cat? is there a
way to tell the bot automatically which category is or we should do
this by hand?
Thanks again for you precious work.
Ciao,
Cristian
[1]
https://commons.wikimedia.org/wiki/Commons:Monuments_database/Statistics
[2]
https://commons.wikimedia.org/wiki/Category:Villa_romana_%28Desenzano_del_G…
_______________________________________________
Wiki Loves Monuments mailing list
WikiLovesMonuments(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
http://www.wikilovesmonuments.org