Difference between revisions of "Module:Documentation"

fix subjectSpace var in makeSubpagesBlurb
>Mr. Stradivarius
(clean up the env table functions and the comments)
>Mr. Stradivarius
(fix subjectSpace var in makeSubpagesBlurb)
Line 627: Line 627:
function p.makeSubpagesBlurb(args, env)
function p.makeSubpagesBlurb(args, env)
-- Get the template title object
-- Get the template title object
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
local templateTitle = env.templateTitle
if not templateTitle then
if not subjectSpace or not templateTitle then
return nil
return nil
end
end
Anonymous user