blob: 2867db31e1cf2de347913148534bdc7f03f8c0d5 [file] [log] [blame]
Does a version check on the page. If the page does not exist, the body is never included.
!Usage
<wiki:CheckVersion mode="latest|notlatest">
;:''JSP or HTML code''
</wiki:CheckVersion>
!Parameters
;__mode__: If 'latest', will include the body if the current page is the latest version. If 'notlatest', will include the body only if the current page is not the latest version. If "first", includes the body if and only if the current page is the first revision, and if it's "notfirst", includes only if it's not the first version.
!Example
{{{
<wiki:CheckVersion mode="notlatest">
<B>Warning: This page is not the latest version.</B>
</wiki:CheckVersion>
}}}