Content deleted Content added
an 'orrible 'ack to get the last number calculated |
Suppressing end of section whitespace that can put the (x articles) on the next line. Also fixed "Urania's mirror" from being on a separate line for reasons I do not comprehend |
||
Line 57:
else
local image = args['image' .. tostring(section)]
text = mw.ustring.gsub(text .. "\n=", "(==.-)\n%s*%f[=]", replace)
text = mw.ustring.sub(text,1,-2) -- ditching "=" mark from line above
if (image) then
|