Added by Wallace Winfrey almost 12 years ago
I would like to create a macro that, when embedded in a wiki page, displays the version number of that page's most recent commit, i.e. say we have a wiki page that is at version 56, and it's contents include the string:
This page's last revision was: {{current_page_last_commit}}
When viewed, the page would display
This page's last revision was: 56
How might I do this? How about author and date of the last commit, i.e. {{current_page_last_author}}
and {{current_page_last_revision_date}}
?