Content deleted Content added
m erm, yeah, because the first part isn't a parameter! |
Looks like [1] defaults to "", page to nil .. right? |
||
Line 42:
local p9 = args.p9 or pargs.p9 or ""
local page=args.page or pargs.page or args[1] or pargs[1]
if page=="" then page=nil end
local title -- holds the result of the mw.title.xxx call
if not(page) then
Line 100 ⟶ 101:
field="text"
return p.main(frame) -- I ''think'' that frame, field automatically is available to p.main
end
function p.prefixedText(frame)
field="prefixedText"
return p.main(frame)
end
|