Module:Dochead: Difference between revisions
refactor |
m bugfix missing wikitext |
||
| Line 136: | Line 136: | ||
-- Then check whether this template invokes the module | -- Then check whether this template invokes the module | ||
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 invokes = iutils.find_invokes(wikitext) | local invokes = iutils.find_invokes(wikitext) | ||
local is_module_invoked = iutils.invocation_exists(invokes, corr_module) | local is_module_invoked = iutils.invocation_exists(invokes, corr_module) | ||