Content deleted Content added
Avoid turning | into {{!}} due to fear of processing errors - gallery is quite robust and Random slideshow now provides a much more logical response |
Experiment with removing any trailing wikitables or templates which aren't properly ended to fix linter errors Tag: Reverted |
||
Line 119:
-- strip tables and block templates; strip newlines and replace pipes within inline templates
excerpt = mw.ustring.gsub(excerpt..'\n', '\n?%b{}\n?', processBraces)
-- remove any trailing tables or templates
excerpt = mw.ustring.gsub(excerpt, '{[|{][^}]*$', '')
-- replace wikitext bulleted lists with html bulleted lists
excerpt = gsubWikitextLists(excerpt, '*', 'ul', 'li')
|