Module:Uses TemplateStyles/sandbox: Difference between revisions

Content deleted Content added
fix
get the namespace from tsTitle.nsText
Line 36:
local tsTitle = mw.title.new(ts)
if tsTitle then
local tsSandbox = string.format('%s:%s/sandbox/%s', tsTitle.nsText, tsTitle.baseText, tsTitle.subpageText)
if mw.title.new(tsSandbox, 'Template').exists then
sandboxLink = string.format(' ([[:%s|sandbox]])', tsSandbox)
end