Module:Template link general: Difference between revisions

Okay.... ns check
(uh, string 10?)
(Okay.... ns check)
Line 52: Line 52:
if not _ne(textPart) then
if not _ne(textPart) then
if titleObj ~= nil then
if titleObj ~= nil then
textPart = titleObj.ns == "10" and args['1'] or titleObj.fullText
textPart = titleObj:inNamespace("Template") and args['1'] or titleObj.fullText
else
else
-- redlink
-- redlink
Anonymous user