Module:Module introspection: Difference between revisions
adopt get_and_preprocess_content Tag: Reverted |
Undo revision 215229 by Ganaram inukshuk (talk) undo for bugfixing Tag: Undo |
||
| Line 136: | Line 136: | ||
end | end | ||
-- | -- Preprocess module and blank-out comments | ||
local title = mw.title.new('Module:' .. module_name) | |||
local code = title:getContent() | |||
code = iutils.preprocess_code(code) -- Blank-out comments | |||
-- Get dependencies and their functions used, then build a table | -- Get dependencies and their functions used, then build a table | ||