Module:links: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 33: Line 33:
elseif mw.ustring.match(term, "^[%?%-–—]+$") or mw.ustring.match(term, ":[%?%-–—]+$") then
elseif mw.ustring.match(term, "^[%?%-–—]+$") or mw.ustring.match(term, ":[%?%-–—]+$") then
return alt
return alt
else
elseif data.nolink then
return alt
else
return "[[" .. link .. "|" .. alt .. "]]"
return "[[" .. link .. "|" .. alt .. "]]"
end
end