Module:Page: Difference between revisions

Content deleted Content added
args.as defaults to "pre"
fixed: makeTitle always resolved to true
Tags: Mobile edit Mobile web edit
Line 14:
local function main(frame, field)
local args, pargs = frame.args, ( frame:getParent() or {} ).args or {}
local makeTitle=args.makeTitle or pargs.makeTitle or ""
local namespace=args.namespace or pargs.namespace or ""
local fragment=args.fragment or pargs.fragment or ""