Content deleted Content added
/ |
allow passed-in value to override nostubs=true |
||
Line 109:
local makeGalleryArgs = function(titles, options, limit, nonRandom)
local galleryArgs = {}
local titlesSequence = {}
Line 160 ⟶ 159:
options.paraflags = excerptModule.numberflags(args.paragraphs or "") -- parse paragraphs, e.g. "1,3-5" → {"1","3-5"}
options.fileflags = excerptModule.numberflags(args.files or "") -- parse file numbers
options.nostubs = args.nostubs and not(isDeclined(args.nostubs)) or true
return options
end
|