Module:Sandbox/Q8j: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
local p = {} | 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 lastedittime(frame.args[1]) | |||
end | |||
return p | return p |
Latest revision as of 04:44, 15 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
return lastedittime(frame.args[1])
end
return p