Modul:Redirect hatnote: Unterschied zwischen den Versionen
(Rephrased error message to make more sense for version with multiple redirects) |
(text= option) |
||
Zeile 63: | Zeile 63: | ||
local text = { | local text = { | ||
mHatList.andList(formattedRedirect) .. ' ' .. (#redirect == 1 and 'redirects' or 'redirect') .. ' here.', | mHatList.andList(formattedRedirect) .. ' ' .. (#redirect == 1 and 'redirects' or 'redirect') .. ' here.', | ||
mHatList._forSee(args, #redirect + 1, {title = redirect[1]}) | mHatList._forSee(args, #redirect + 1, {title = redirect[1], extratext = args.text}) | ||
} | } | ||
text = table.concat(text, ' ') | text = table.concat(text, ' ') |