Module:Infobox television and Module:Infobox television/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
new validations: external links as values; additional text in date fields |
No edit summary |
||
Line 202: | Line 202: | ||
local start_date = released or first_aired |
local start_date = released or first_aired |
||
--TODO: place in correct spot. |
|||
-- Checks if the page is an upcoming category. If it is, then it is ok that it is missing dates |
|||
for _, category in ipairs(mw.title.getCurrentTitle().categories) do |
|||
if category:match("^Upcoming.*television series$") then |
|||
return |
|||
end |
|||
end |
|||
-- A start date should always be set. |
-- A start date should always be set. |