Module:Dochead: Difference between revisions

Ganaram inukshuk (talk | contribs)
bugfix namespace-appending rules
Ganaram inukshuk (talk | contribs)
m bugfix invocation_exist input
Line 137: Line 137:
local has_module = iutils.page_exists("Module:" .. corr_module)
local has_module = iutils.page_exists("Module:" .. corr_module)
local wikitext = iutils.get_and_preprocess_content("Template", pagename)
local wikitext = iutils.get_and_preprocess_content("Template", pagename)
local is_module_invoked = iutils.invocation_exists(wikitext, pagename)
local is_module_invoked = iutils.invocation_exists(wikitext, corr_module)


-- Find all invocations for the template
-- Find all invocations for the template