Bearbeiten von „Modul:LinkedWiki“
Zur Navigation springen
Zur Suche springen
Die Bearbeitung kann rückgängig gemacht werden. Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und veröffentliche dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.
Aktuelle Version | Dein Text | ||
Zeile 17: | Zeile 17: | ||
local ps = 'http://www.wikidata.org/prop/statement/' | local ps = 'http://www.wikidata.org/prop/statement/' | ||
local dateFormat = "Y" | local dateFormat = "d M Y" | ||
local subject = f.args.iri or linkedwiki.getCurrentIRI(); --find the iri of the current page | local subject = f.args.iri or linkedwiki.getCurrentIRI(); --find the iri of the current page | ||
Zeile 29: | Zeile 29: | ||
local objWikidata = nil | local objWikidata = nil | ||
local objWikidataTitle = "" | local objWikidataTitle = "" | ||
local objWikidataLieuDeces = nil | |||
local objPapeFonction = nil | |||
local linkWikidata = "" | local linkWikidata = "" | ||
local propertyZDB = wdt..'P1042' | local propertyZDB = wdt..'P1042' | ||
Zeile 41: | Zeile 43: | ||
local idConfigWikidata = 'http://www.wikidata.org' | local idConfigWikidata = 'http://www.wikidata.org' | ||
local taglang = 'de' | local taglang = 'de' | ||
citeq_args = {} | citeq_args = {} | ||
iriWikidata = wd .. f.args['Wikidata ID'] | iriWikidata = wd .. f.args['Wikidata ID'] | ||
Zeile 56: | Zeile 57: | ||
citeq_args["Seiten"] = objWikidata:getValue(propertyPage) | citeq_args["Seiten"] = objWikidata:getValue(propertyPage) | ||
citeq_args["Nummer"] = objWikidata:getValue(propertyIssue) | citeq_args["Nummer"] = objWikidata:getValue(propertyIssue) | ||
citeq_args["Datum"] = objWikidata:getValue(propertyPubDate) | |||
citeq_args["Datum"] = | |||
end | end | ||