Content deleted Content added
fix indents |
Sophivorus (talk | contribs) Update calls to Excerpt module to latest changes |
||
Line 129:
for _i, title in ipairs(sortedTitles) do
if (#galleryArgs / 2) < limit then
local excerpt = mw.text.trim(excerptModule.
if excerpt and excerpt ~= '' and #excerpt > 10 then
-- temporarily take off the '''[[Page title|Read more...]]''' link if present
Line 175:
local makeOptions = function(args)
local options = args -- pick up miscellaneous options: more, errors, fileargs
options.paraflags = excerptModule.
options.fileflags = excerptModule.
if args.nostubs and isDeclined(args.nostubs) then
options.nostubs = false
Line 201:
local text = pageContent
if pageSection then -- check relevant section only
text = excerptModule.
end
-- begin BHG addition for tracking source pages
|