Module:Lilytest: Difference between revisions

Content added Content deleted
mNo edit summary
mNo edit summary
Line 16: Line 16:
local abwo = tonumber(a.ab or a.abwo) or 1
local abwo = tonumber(a.ab or a.abwo) or 1
local bishin = tonumber(a.bis or a.bishin) or 100
local bishin = tonumber(a.bis or a.bishin) or 100
local myns = string.lower(t.tidy(a.ns) or '')
local myns = string.lower(trim(a.ns) or '')
local __ = '\nmyns: ' .. myns
local __ = '\nmyns: ' .. myns
Line 66: Line 66:
local was = frame.args.seite or frame:getParent().args.seite or 'Lua' -- Seitentitel
local was = frame.args.seite or frame:getParent().args.seite or 'Lua' -- Seitentitel
local ns = frame.args.ns or frame:getParent().args.ns or '' -- Namensraum
local ns = frame.args.ns or frame:getParent().args.ns or '' -- Namensraum
local namesp = t.tidy(ns) or 'Artikel'
local namesp = trim(ns) or 'Artikel'
local seite = mw.title.new(was, ns)
local seite = mw.title.new(was, ns)