Module:Dochead: Difference between revisions
mNo edit summary |
bugfix namespace-appending rules |
||
| Line 135: | Line 135: | ||
-- Check whether corresponding module exists | -- Check whether corresponding module exists | ||
-- Then check whether this template invokes the module | -- Then check whether this template invokes the module | ||
local has_module = iutils.page_exists(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, pagename) | ||