Content deleted Content added
better make sure tsSandboxTitle is not nil before calling .exists |
fix |
||
Line 38:
local tsSandboxTitle = mw.title.new(string.format('%s:%s/sandbox/%s', tsTitle.nsText, tsTitle.baseText, tsTitle.subpageText))
if tsSandboxTitle and tsSandboxTitle.exists then
sandboxLink = string.format(' ([[:%s|sandbox]])',
end
end
|