Module:Random slideshow/sandbox: Difference between revisions

Content deleted Content added
require transcluded images to have captions
Update calls to Excerpt module to latest changes
Line 139:
end
if args['section'..i] then
content = excerptModule.getsectiongetSection(content, args['section'..i]) or ''
end
content = excerptModule.cleanupText(content)
Line 148:
if hasCaption(f) then
local filename = string.gsub(f, '{{!}}.*', '')
local isOkay = excerptModule.checkimagecheckImage(filename)
if isOkay then
table.insert(lines, f)
Line 156:
end
local otherFiles = excerptModule.parse(content, {fileflags="1-100"}, filesOnly=true})
if otherFiles then
for _, f in pairs(extractRegularFiles(otherFiles)) do