From Wikipedia, the free encyclopedia
local p = {}
function p.main(frame)
local query = string.format('action=history&offset=%s&limit=2', frame.args[1])
local url = tostring(mw.uri.fullUrl(frame:getParent():getTitle(), query))
return string.format('<span class="plainlinks">[%s %s]</span>',
url, frame.args[2])
end
return p