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 , "
if (seasonType) then
seasonType = "
else
seasonType = "
end
return seasonType
Baris 35:
--]]
local function getShortDisambiguation(disambiguation)
return string.gsub(disambiguation, "%d+
end
Baris 92:
local showName = mw.ustring.gsub(title, "%s+%b()$", "")
local disambiguation = getDisambiguation(title)
local year = match(disambiguation, "(%d+
local shortDisambiguation = getShortDisambiguation(disambiguation)
local country = match(shortDisambiguation, "(([%s%w]+)%s+)[season series]", 1, -1, false, "")
|