8,281
edits
No edit summary |
No edit summary |
||
Line 45: | Line 45: | ||
elseif link ~= '' then | elseif link ~= '' then | ||
local linkPrefix = ( not link:find( '//' ) and args.linkprefix ) or '' | local linkPrefix = ( not link:find( '//' ) and args.linkprefix ) or '' | ||
if | if linkPrefix == "parallel:" then -- <- these are the added bits here | ||
linkprefix = '' | linkprefix = '' | ||
end | |||
if string.find(link, "[Pp]arallel:") then | |||
link = mw.ustring.gsub( link, "[Pp]arallel:", "" ) | |||
else | |||
link = link .. ' (Vanilla)' | |||
end | end | ||
link = linkPrefix .. link | link = linkPrefix .. link |