Content deleted Content added
not on template page if category=no |
Tom.Reding (talk | contribs) m Include ']' in special_chars{} to prevent unmatched close-bracket error (Talk:1993 in Lithuanian football) |
||
Line 281:
local article_class = p.readarticleclass({ignore_subtemplates=true}, title.prefixedText)
if article_class then -- banner shell exists
local special_chars = {'%', '(', ')', '.', '+', '-', '*', '?', '[', ']', '^', '$'}
local banner_name_escaped = banner_name.text
local page_content = title:getContent() -- get content of current page
|