Content deleted Content added
BrokenSegue (talk | contribs) more specific error |
BrokenSegue (talk | contribs) try to add Category:Pages with YouTubeSubscribers module errors Tag: Reverted |
||
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 [[Category:Pages with YouTubeSubscribers module errors]]")
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? [[Category:Pages with YouTubeSubscribers module errors]]")
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 [[Category:Pages with YouTubeSubscribers module errors]]")
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) [[Category:Pages with YouTubeSubscribers module errors]]")
end
end
|