Module:Good Articles: Difference between revisions

Content deleted Content added
bad, ahem, logic
an 'orrible 'ack to get the last number calculated
Line 57:
else
local image = args['image' .. tostring(section)]
local text = mw.ustring.gsub(text .. "\n=", "(==.-)\n%f[=]", replace)
text = mw.ustring.sub(text,1,-2) -- ditching "=" mark from line above
if (image) then
image = '[[' .. image .. '|22px|left]]'