Content deleted Content added
m Remove "unreliable source?" tags |
prevent empty or whitespace-only fileargs being used |
||
Line 300:
end
end
local fileargs = options.fileargs and mw.text.trim(options.fileargs)
if fileargs == '' then fileargs = nil end
local leadstart = nil -- have we found some text yet?
Line 337 ⟶ 340:
image = mw.ustring.gsub(image, "(%]%]%s*)$", "|thumb%1")
end
if
filetext = filetext .. image
end
Line 350 ⟶ 353:
if options.fileflags and options.fileflags[files] then
local image = token -- copy token for manipulation by adding |right etc. without changing the original
if
filetext = filetext .. image
end
|