Module:EditAtWikidata: Difference between revisions

no edit summary
(Created page with "-- Module to display an icon with a tooltip such as "Edit this at Wikidata". -- Icon will be linked to the Wikidata entry for the article where this is placed. -- This message...")
 
No edit summary
 
Line 34: Line 34:


-- Get the object containing all the claims for the article
-- Get the object containing all the claims for the article
local entity = mw.wikibase.getEntityObject(qid)
if entity then
if entity then
local thisQid
local thisQid