Hi,
I'd like to access Wikidata via Lua scripts, so the scripts can later be used in MediaWiki. I only know how to create Lua scripts in the module-namespace in Wikimedia wikis, but I want command line scripts that do not require a full MediaWiki installation. To give a minimal example, this script:
language="en"
label=mw.wikibase.label("Q42")
print(label)
if somehow (?) called from command line (!) should print "Douglas Adams" to stdout.
How to do so?
Jakob
--
Jakob Voß
Verbundzentrale des GBV (VZG)
Abteilung Digitale Bibliothek
Platz der Göttinger Sieben 1
37073 Göttingen
Telefon: (49)551 39-10242
Internet: www.gbv.de
_______________________________________________
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech