మాడ్యూల్:Hatnote: కూర్పుల మధ్య తేడాలు

Content deleted Content added
Added a simple p.disambiguate(page [, disambiguator]) helper function
Updated from sandbox: tweaked _formatLink() to overwrite, rather than stack, manual piping with "display"-based piping
పంక్తి 168:
-- Assemble the link.
if display then
return string.format(
'[[:%s|%s]]', link, display)
string.gsub(link, '|(.*)$', ''), --display overwrites manual piping
display
)
else
return string.format('[[:%s]]', link)
"https://te.wikipedia.org/wiki/మాడ్యూల్:Hatnote" నుండి వెలికితీశారు