Template talk:REVISIONTIMESTAMP
(Redirected from Template talk:REVISIONTIMESTAMP/doc)
Latest comment: 3 years ago by Guarapiranga in topic callParserFunction('REVISIONTIMESTAMP', page)
ย You are invited to join the discussion at Help_talk:Magic_words#REVISIONTIMESTAMP_conversion_to_plain_text. {{u|Sdkb}}โฏtalk 03:14, 17 May 2020 (UTC)
callParserFunction('REVISIONTIMESTAMP', page)
edit
This template does not need to be used in place of the magic word normally, but is provided so that a WP:Lua module can use frame:expandTemplate to access this function. (There may well be some other better way to do this).
Yep, one can simply call the parser function directly with mw.getCurrentFrame():callParserFunction('REVISIONTIMESTAMP', page)
. Still an "expensive function", mind you. โ ๐๐ฎ๐๐ซ๐๐ฉ๐ข๐ซ๐๐ง๐ ๐ (talk) 00:43, 16 May 2021 (UTC)