Module:WikidataCheck: Difference between revisions

Replace with Bharatdata
No edit summary
(Replace with Bharatdata)
 
Line 25: Line 25:
end
end
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 Bharatdata]]" -- bad. Bot needs to add the property
end
end
for i, v in ipairs(hasProp) do -- Now we try to iterate over all possible values?
for i, v in ipairs(hasProp) do -- Now we try to iterate over all possible values?
Line 37: Line 37:
end
end
end
end
return "[[Category:" .. catbase .. " different from Wikidata]]" -- needs human review :(
return "[[Category:" .. catbase .. " different from Bharatdata]]" -- needs human review :(
end
end


return p
return p