Module:Official website: Difference between revisions

Content deleted Content added
option for args.url and args.___URL
renderTrackingCategory updates
Line 115:
end
local category
local wikidataurl = fetchWikidataUrl()
if not url and not wikidataurl then
category = 'Official website missing URL'
elseif fetchWikidataUrl()not url and wikidataurl then
return ''
if url and url ~= fetchWikidataUrl() then
elseif url and wikidataurl then
if url ~= wikidataurl then
category = 'Official website different in Wikidata and Wikipedia'
end