మాడ్యూల్:Taxonbar/exists
local p = {}
function p.check( frame )
local pagename = mw.title.getCurrentTitle().baseText
local content = mw.title.new(pagename):getContent() or ''
local found = string.match(content, '(?<!%<%-%-[^%<%>]*)%{%{\s*[Tt]axon?[ _-]?[bB]ar(?=\s*[\|\}])(?![^%<%>]*?%-%-%>)') or --5 redirects as of 2019/9
string.match(content, '(?<!%<%-%-[^%<%>]*)%{%{\s*[Tt]axonIds' .. '(?=\s*[\|\}])(?![^%<%>]*?%-%-%>)')
if found then return true end
return false
end
return p