Content deleted Content added
oops, double brackets again |
more showerror support |
||
Line 169:
if link then
display = args[2] or args.display -- The display text in piped links.
if (display and type(display) ~= "string") then
if
error("Non-string display value detected")
else
display = nil
end
end
if display then
display = mw.text.trim(display) -- Trim whitespace.
-- If the page name is the same as the display value, don't pipe
|