Module:Purge

-- -- Implements Template:Purge --

local p = {}

function p._purge( anchor ) local page_title = mw.title.getCurrentTitle.fullText local url = tostring( mw.uri.fullUrl( page_title, 'action=purge' ) ) .. '#'..( anchor or 'res' ) local link = '[' .. url .. ' (wrong?)]' return '' .. link .. ' ' end

function p.purge( frame ) return p._purge( frame:getParent.args.anchor ) end

return p