Content deleted Content added
m update to use new mw.wikibase API changes |
Partial revert: those functions take an entity ID, not a language |
||
Line 504:
local id = frame.args[2]
-- return description of a Wikidata entity in the given language or the default language of this Wikipedia site
return mw.wikibase.getEntity(id)
end
Line 511:
local id = frame.args[2]
-- return label of a Wikidata entity in the given language or the default language of this Wikipedia site
return mw.wikibase.getEntity(id)
end
|