Module:SpriteFile: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 51: Line 51:
link = mw.ustring.gsub( link, "[Pp]arallel:", "" )
link = mw.ustring.gsub( link, "[Pp]arallel:", "" )
else
else
if mw.title.new(link, 'main').exists == false then
if mw.title.new(link).exists == false then
linkPrefix = 'mcwiki:'
linkPrefix = 'mcwiki:'
end
end