Template talk:REVISIONTIMESTAMP

Latest comment: 3 years ago by Guarapiranga in topic callParserFunction('REVISIONTIMESTAMP', page)

Discussion at Help_talk:Magic_words#REVISIONTIMESTAMP_conversion_to_plain_text edit

 ย 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)Reply

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)Reply