FANDOM


-- <nowiki>
-- Implements Template:Purge
--
 
local p = {}
 
function p._purge(anchor)
	local page_title = mw.title.getCurrentTitle().fullText
	local link = string.format('[%s#%s (wrong?)]',tostring(mw.uri.fullUrl(page_title,'action=purge')),anchor or 'res')
	return '<small id="res" title="If this information seems incorrect, click here to force an update.">' .. link .. '</small>'
end
 
function p.purge(frame)
	return p._purge(frame:getParent().args.anchor)
end
 
return p
Community content is available under CC-BY-SA unless otherwise noted.