Module:WikidataCheck: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 24: Line 24:
return nil -- Using Wikidata
return nil -- Using Wikidata
end
end
local hasProp = claims[property]
if not hasProp then -- no claim of that property
if not hasProp then -- no claim of that property
return "[[Category:" .. catbase .. " not in Wikidata]]" -- bad. Bot needs to add the property
return "[[Category:" .. catbase .. " not in Wikidata]]" -- bad. Bot needs to add the property