Content deleted Content added
Undid revision 1135536890 by Aidan9382 (talk) - Gonna implement this within Module:Excerpt/portals instead |
sync to live |
||
Line 110:
return frame:preprocess(t)
end
-- else
return mw.ustring.gsub(t, '\n*', '')
end
Line 117:
-- strip galleries
excerpt = mw.ustring.gsub(excerpt, "<%s*[Gg]allery.->.-<%s*/%s*[Gg]allery%s*>", "")
-- strip tables and block templates; strip newlines
excerpt = mw.ustring.gsub(excerpt..'\n', '\n?%b{}\n?', processBraces)
-- replace wikitext bulleted lists with html bulleted lists
|