Content deleted Content added
m Protected "Module:Excerpt": High-risk Lua module: request at WP:RFPP ([Edit=Require autoconfirmed or confirmed access] (indefinite)) |
Dreamy Jazz (talk | contribs) merge from sandbox; handle strange capitalisation of ref tags, which are valid but were not removed (and in some cases causing spew errors) |
||
Line 435:
end
text = mw.ustring.gsub(text, "<noinclude>.-</noinclude>", "") -- remove noinclude bits
text = mw.ustring.gsub(text, "<%s*[Rr]
text = mw.ustring.gsub(text, "<%s*[Rr]
text = mw.ustring.gsub(text, "<%s*[Ii]magemap.->.-<%s*/%s*imagemap%s*>", convertImagemap) -- convert imagemaps into standard images
text = mw.ustring.gsub(text, "%b{}", striptemplate) -- remove unwanted templates such as references
|