Modul:LinkedWiki: Unterschied zwischen den Versionen

11 Bytes hinzugefügt ,  25. April 2021
keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 17: Zeile 17:
     local ps = 'http://www.wikidata.org/prop/statement/'
     local ps = 'http://www.wikidata.org/prop/statement/'


     local dateFormat = "d M Y"
     local dateFormat = "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 57: 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"] = objWikidata:checkDate(propertyPubDate,'',dateFormat)
     end
     end


2.621

Bearbeitungen