Motivation
Currently,
TWiki::Func::getRevisionInfo() takes
( $web, $topic, $rev, $attachment ) as arguments -- not taking $meta. Because of that, even if
$meta is already there, the topic needs to be read and parsed.
Description and Documentation
By taking
$meta as the 5th argument (optional),
TWiki::Func::getRevisionInfo() can do its job without reading and parsing the topic if it's provided.
As a result,
getRevisionInfo() will take
( $web, $topic, $rev, $attachment, $meta ) as arguments.
This proposal aims to replace
FuncGetTopicLatestRevTime.
Examples
Impact
Implementation
--
Contributors:
Hideyo Imazu - 2020-01-24
Discussion
This looks good. Implementation is very easy since
Render::renderRevisionInfo() already accepts
$meta
--
Peter Thoeny - 2020-01-26