You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
We talked about minimal set of fields, defining the public of the information and making it a re-usable template so that it can be dragged in from other pages for use. We also wanted to use it from a sandbox so that it can be experimented with from the "edit scanning" script that we'll also work on.
The text was updated successfully, but these errors were encountered:
Just to confirm, I think we discussed so far the idea of using a subset version of the English template, translating that to French and then using smaller templates for each of the potential values. Those smaller template will need to use a language to be able to query the data from Wikidata (to be determined).
I will set up the sandbox template that is a subset of the original one and then perhaps we'll have to look together about how to pull the values out of Wikidata. I looked at this once before so I'll pull that up first.
There may be metadata such as the country code required to be able to do this. Looking ahead, this test is at national level but the idea is that code / geocode will need to be able to work at lower geographical levels in the future. We need to validate if there is a simple way to assign this code to the whole wikipage.
Those smaller template will need to use a language to be able to query the data from Wikidata (to be determined).
A Lua subset is the only scripting language that is supported as far as I can tell. Sections 5, 6 adn 7 of this infobox tutorial show the various approaches if you haven't already seen that. We'll want to weigh up the pros/cons on our approach: do we want editors to have to work directly with wikidata if we obscure the template on the page editing with references to the underlying lua module?
This Lua reference shows all available functionality for speaking to wikidata. This example of fetching data seems to show the parts that we'd need to wire up: the template definition, the page invocation and the Lua module.
perhaps we'll have to look together about how to pull the values out of Wikidata.
Yep, I'd be up for that.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We talked about minimal set of fields, defining the public of the information and making it a re-usable template so that it can be dragged in from other pages for use. We also wanted to use it from a sandbox so that it can be experimented with from the "edit scanning" script that we'll also work on.
The text was updated successfully, but these errors were encountered: