Modul:Infobox television season name: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k Cleanup
k Cleanup
Baris 21:
--]]
local function getSeasonType(shortDisambiguation)
local seasonType = string.find(shortDisambiguation , "seriesseri")
if (seasonType) then
seasonType = "seriesseri"
else
seasonType = "seasonmusim"
end
return seasonType
Baris 35:
--]]
local function getShortDisambiguation(disambiguation)
return string.gsub(disambiguation, "%d+ TVseri seriesTV, ", "")
end
 
Baris 92:
local showName = mw.ustring.gsub(title, "%s+%b()$", "")
local disambiguation = getDisambiguation(title)
local year = match(disambiguation, "(%d+ TVseri seriesTV, )", 1, -1, false, "")
local shortDisambiguation = getShortDisambiguation(disambiguation)
local country = match(shortDisambiguation, "(([%s%w]+)%s+)[season series]", 1, -1, false, "")