Module:Sandbox/Q8j

From Test Wiki
Revision as of 04:44, 15 December 2022 by Q8j (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Sandbox/Q8j/doc

local p = {}
function p.Main( frame )
	function lastedittime( pagename )
		return '[[Special:Diff/' .. frame:callParserFunction( 'REVISIONID', pagename ) .. '|' .. frame:callParserFunction( '#time', 'H:i, d F Y', frame:callParserFunction( 'REVISIONTIMESTAMP', pagename ) ) .. '(UTC)]]'
	end
	return lastedittime(frame.args[1])
end
return p