Module:Sandbox/Q8j: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Q8j (talk | contribs)
No edit summary
Q8j (talk | contribs)
No edit summary
Line 1: Line 1:
local p = {}
local p = {}
function p.Main( frame )
function p.Main( frame )
function lastedittime( pagename )
return frame.args[1]
return '[[Special:Diff/' .. frame:callParserFunction( 'REVISIONID', pagename ) .. '|' .. frame:callParserFunction( '#time', 'H:i, d F Y', frame:callParserFunction( 'REVISIONTIMESTAMP', pagename ) ) .. '(UTC)]]'
end
end
end
return p
return p

Revision as of 00:23, 11 December 2022

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
end
return p