Content deleted Content added
No edit summary |
No edit summary |
||
Line 197:
local seasonType = getSeasonType(title)
local seasonNumber = getSeasonNumberNew(title)
local showName = getShowName(title)
Line 214 ⟶ 213:
seasonNumber = seasonNumber + seasonNumberDiff
pipedLink =
-- Titles such as "Big Brother 1 (American season)".
Line 227 ⟶ 226:
elseif string.find(disambiguation, "TV series") and not (string.find(disambiguation, ", season") or string.find(disambiguation, ", series")) then
return "", nil
-- Standard titles such as "Lost (season 1)".
else
local
--mw.log(r)
return r
end
end
Line 265 ⟶ 266:
local title = getTitle(frame)
local articleTitle, pipedLink = getArticleTitleAndPipedLink(title, seasonNumberDiff)
mw.log(articleTitle)
mw.log(pipedLink)
return getArticleLink(articleTitle, pipedLink)
end
|