Module:Documentation: Difference between revisions

fix subjectSpace var in makeSubpagesBlurb
m>Mr. Stradivarius
(clean up the env table functions and the comments)
m>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