Module:Module introspection: Difference between revisions

Ganaram inukshuk (talk | contribs)
Undo revision 215229 by Ganaram inukshuk (talk) undo for bugfixing
Tag: Undo
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 137: Line 137:
-- Preprocess module and blank-out comments
-- Preprocess module and blank-out comments
local title = mw.title.new('Module:' .. module_name)
--local title = mw.title.new('Module:' .. module_name)
local code = title:getContent()
--local code = title:getContent()
code = iutils.preprocess_code(code) -- Blank-out comments
--code = iutils.preprocess_code(code) -- Blank-out comments
local code = iutils.get_and_preprocess_content("Module", module_name)
-- Get dependencies and their functions used, then build a table
-- Get dependencies and their functions used, then build a table