The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 18: | Line 18: | ||
-- Remove comments and some special formatting | -- Remove comments and some special formatting | ||
content = content:gsub("%[%[File:.-|%[%[Image:.-|%[%[Media:.-", "") -- Remove file, image, media | |||
content = content:gsub("%[%[.-|", "") -- Remove wiki links labellink brackets | content = content:gsub("%[%[.-|", "") -- Remove wiki links labellink brackets | ||
content = content:gsub("{{.-}}", "") -- Remove template calls | content = content:gsub("{{.-}}", "") -- Remove template calls |