Content deleted Content added
BrokenSegue (talk | contribs) try to add Category:Pages with YouTubeSubscribers module errors Tag: Reverted |
BrokenSegue (talk | contribs) Undid revision 1142295103 by BrokenSegue (talk) |
||
Line 206:
local chanId = getBestYtChanId(e)
if not chanId then
error("Could not find a single best YouTube channel ID for this item. Add a YouTube channel ID or set the rank of one channel ID to be preferred
end
local s = newestMatching(e, SUB_COUNT_PID, YT_CHAN_ID_PID, chanId)
Line 225:
return "{{Format date|" ..dateString .. "}}"
end
error("Could not find a date for YouTube subscriber information. Is there a social media followers statement (P8687) qualified with good values for P585 and P2397?
end
Line 239:
end
else
error("Could not find a single best YouTube channel ID for this item. Add a YouTube channel ID or set the rank of one channel ID to be preferred
end
if subCount then
return tonumber(subCount)
else
error("Found an associated YouTube channel ID but could not find a most recent value for social media followers (i.e. P8687 qualified with P585 and P2397)
end
end
|