Module:YouTubeSubscribers: Difference between revisions

Content deleted Content added
stop appending the date
test
Line 181:
end
if not qid then
error("No qid found for page. Please make a Wikidata item for this article.")
end
local e = mw.wikibase.getEntity(qid)
Line 216:
if yt_month and yt_month ~= 0 then
dateString = dateString .. yt_month .. "|"
-- truncate the day of month
--if yt_day and yt_day ~= 0 then
-- dateString = dateString .. yt_day
Line 222 ⟶ 223:
return "{{Format date|" ..dateString .. "}}"
end
return chanId
error("could not find date for youtube information")
 
--error("couldCould not find date for youtube subscriber information.")
end