Module:Page: Difference between revisions

Content deleted Content added
m standardizing spacing
why do we want frame.preprocess? it introduces the getContent bug.
Line 63:
if type(result)=="function" then
if nowiki then
return frame.preprocess(frame, "<pre><nowiki>" .. tostring(result(title,p1,p2,p3,p4,p5,p6,p7,p8,p9)).. [[</nowiki></pre>]]) -- I *think* these are all page:x() calls
else return frame.preprocess(frame,result(title,p1,p2,p3,p4,p5,p6,p7,p8,p9))
end
else return tostring(result) -- note that nil values will be returned as "nil", not ""