Module:Excerpt: Difference between revisions

Content deleted Content added
Omit unnecessary list if showing all excerpts
Check that the section title is not empty
Line 636:
section = mw.ustring.match(pagename, ".-#(.*)") -- parse redirect to Page#Section
end
if text and section and section ~= "" then text = getsection(text, section) end
end
end