require ('strict')
--
local patterns_t =
-------------------------------< G E T C O N T E N T >-------------------------------------------------------
fetch the article's raw wikitext
local function getContent(title) local success, titleObj = pcall(mw.title.new, title) -- get a title object for title if not success then return nil end -- return nil if sommat went wron return titleObj:getContent -- return wikitext elseend
-------------------------------< M A I N >-------------------------------------------------------------------
local function main(frame, title) -- do we really need
for _, pattern in ipairs (patterns_t) do -- for each pattern in the sequence of redirect patterns local description = wikitext:match ('