Module:Infobox television season name/sandbox2: Difference between revisions

Content deleted Content added
Created page with 'local match = require("Module:String")._match local p = {} --- Returns a formatted link to the list of episodes article. --- @param listOfEpisodesArticle string --- @return string local function getListOfEpisodesLink(listOfEpisodesArticle) local listOfEpisodesPage = mw.title.new(listOfEpisodesArticle, 0) if listOfEpisodesPage and listOfEpisodesPage.exists and listOfEpisodesPage.redirectTarget ~= mw.title.getCurrentTitle() then return string.format("[[...'
 
No edit summary
Line 78:
end
return title
end
 
--TODO: keep for now
local function getDisambiguation(title)
return match(title, "%s%((.-)%)", 1, -1, false, "")
end