Module:Documentation: Difference between revisions

allow for nil values of makeDocPageBlurb
m>Mr. Stradivarius
(split out docpage blurb code)
m>Mr. Stradivarius
(allow for nil values of makeDocPageBlurb)
Line 556: Line 556:
text = text .. linkBox
text = text .. linkBox
else
else
text = text .. p.makeDocPageBlurb(args, env)
text = text .. (p.makeDocPageBlurb(args, env) or '')
-- Add links to /sandbox and /testcases when appropriate.
-- Add links to /sandbox and /testcases when appropriate.
if subjectSpace == 2 or subjectSpace == 828 or subjectSpace == 10 then
if subjectSpace == 2 or subjectSpace == 828 or subjectSpace == 10 then
Anonymous user