Content deleted Content added
Looks like [1] defaults to "", page to nil .. right? |
return "nil" rather than script error |
||
Line 61:
local result=title[field]
if type(result)=="function" then
return frame.preprocess(frame, "<pre><nowiki>" .. tostring(result(title,p1,p2,p3,p4,p5,p6,p7,p8,p9)).. [[</nowiki></pre><span style="display:none;">]]) -- I *think* these are all page:x() calls
else return tostring(result) -- note that nil values will be returned as "nil", not ""
end
|