Module:Sandbox/Q8j: Difference between revisions

Jump to navigation Jump to search
336 bytes removed ,  15 December 2022
no edit summary
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
local p = {}
local p = {}
function p.Main( frame )
function p.Main( frame )
local m_summary = ''
function lastedittime( pagename )
local m_timestamp = frame:callParserFunction( 'REVISIONTIMESTAMP', 'Test Wiki:Request permissions' )
return '[[Special:Diff/' .. frame:callParserFunction( 'REVISIONID', pagename ) .. '|' .. frame:callParserFunction( '#time', 'H:i, d F Y', frame:callParserFunction( 'REVISIONTIMESTAMP', pagename ) ) .. '(UTC)]]'
local m_time = frame:callParserFunction( '#time', 'Y-m-d\TH:i:s\Z', m_timestamp )
local m_id = frame:callParserFunction( 'REVISIONID', 'Test Wiki:Request permissions' )
local m_editor = frame:callParserFunction( 'REVISIONUSER', 'Test Wiki:Request permissions' )
m_summary = 'Archiving [[Test Wiki:Request permissions]](Revision as of [[Special:PermaLink/' .. m_id .. '|' .. m_time .. ']], last edit;[[Special:Contributions/' .. m_editor .. '|' .. m_editor .. ']])'
return m_summary
end
end
return lastedittime(frame.args[1])
end
return p
return p
481

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu