Module:Introspection utils: Difference between revisions
add alternate implementation of get_and_preprocess_content that uses one fullpagename instead of separate namespace and pagename |
bugfix invocation detector |
||
| Line 340: | Line 340: | ||
-- Replace spaces with underscores | -- Replace spaces with underscores | ||
mod_name = mod_name:gsub(" ", "_") | mod_name = mod_name:gsub(" ", "_") | ||
-- | -- Leave module name in snake_case | ||
return mod_name | return mod_name | ||
end | end | ||