Template talk:REVISIONTIMESTAMP

From WikiProjectMed
Jump to navigation Jump to search

 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)

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]