Changes
Updated from sandbox: tweaked _formatLink() to overwrite, rather than stack, manual piping with "display"-based piping
	-- Assemble the link.
	if display then
		return string.format(			'[[:%s|%s]]', 			string.gsub(link, '|(.*)$', ''), --display overwrites manual piping			display		)
	else
		return string.format('[[:%s]]', link)