Module:Time ago: Difference between revisions

m
oops - purge link needs a preceding space
(Make "ago" a local rather than a global variable. Also, HtmlBuilder is probably overkill for this module - it will be faster to do single tags with just string concatenation.)
m (oops - purge link needs a preceding space)
Line 23:
-- Add a purge link if something (usually "yes") is entered into the purge parameter
if purge then
purge = ' <span class="plainlinks">([' .. mw.title.getCurrentTitle():fullUrl('action=purge') .. ' purge])</span>'
else
purge = ''