As far as I know there is no working lua modules that deal with interactions with Wikidata
(like
https://www.wikidata.org/wiki/Module:Wikidata) as we are all waiting on random
access or access to properties on wikidata for known wikidata IDs. Such Module would be a
first step, it should be shared among multiple templates (Artwork, Creator, Institution,
Authority Control, etc.), and it is hard to start without it.
I think we should have a page where such tools and efforts are listed so we do not
duplicate efforts. I personally like using {{Creator/wrapper|item=Q…..|wikitext=1}} on
wikidata (see
https://www.wikidata.org/wiki/User:Jarekt/a) to generate Creator page
wikicode. It is not perfect but it is a great start. Jane, you mentioned "create
Commons creator template from a Wikidata biographical item” Magnus tool. Can you link to
it. I could not find one.
Jarek T.
(user:Jarekt)
From: Commons-l [mailto:commons-l-bounces@lists.wikimedia.org] On Behalf Of Jane Darnell
Sent: Friday, November 20, 2015 6:56 AM
To: Wikimedia Commons Discussion List
Subject: Re: [Commons-l] Wikidata data in templates
Susanna, Did you read my mind? I have exactly the same questions!! For my own work on
artworks where I am searching individual files for upload to both Commons and Wikidata, I
have created my own tool to prepare an artwork template for commons at the same time as
creating a new item on Wikidata (using quick statements).
The only tools I am aware of are the ones Magnus has so kindly made available to use.
Personally I use the "create Commons creator template from a Wikidata biographical
item" and modify the output slightly to create a category as well, when I find
artworks on Commons that are as yet uncategorized. Unfortunately there is no "Create
a Wikidata item from this file with artwork template on Commons", but I would love to
have that too. Maybe worth creating a wish for the wishlist survey on Meta for this?
Best, Jae
On Fri, Nov 20, 2015 at 12:19 PM, Susanna Ånäs
<susanna.anas@gmail.com<mailto:susanna.anas@gmail.com>> wrote:
I am trying to catch up with the discussion about using Wikidata data in Wikimedia
Commons. Here are some questions that have come up with the work with our GLAM partners as
well as thinking about the Map template.
What is the current status of the Artwork & other metadata templates as well as
Creator and Institution templates as opposed to data on Wikidata? Should I just encourage
to place the same artist & artwork metadata in all of them + Wikipedia infoboxes, or
could I focus on Wikidata and create snippets that read that data from Wikidata?
What's the policy, are there Lua scripts and templates for that on Commons? What will
happen if I try to create some?
Cheers,
Susanna, Wikimedia Finland, an eternal novice
_______________________________________________
Commons-l mailing list
Commons-l@lists.wikimedia.org<mailto:Commons-l@lists.wikimedia.org>
https://lists.wikimedia.org/mailman/listinfo/commons-l