Changes for page Release Plans

Last modified by Thomas Mortagne on 2024/03/27 13:23

<
From version < 77.2 >
edited by Vincent Massol
on 2017/12/13 09:47
To version < 78.1 >
edited by Marius Dumitru Florea
on 2017/12/18 10:16
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.VincentMassol
1 +xwiki:XWiki.mflorea
Content
... ... @@ -4,7 +4,8 @@
4 4  
5 5  {{velocity}}
6 6  #if ("$!request.version" != "")
7 - #set ($shortVersion = $stringtool.replaceChars($request.version, ".-", ""))
7 + ## Keep the dot in the short version in order to avoid collisions (e.g. 9.1.1 vs. 9.11)
8 + #set ($shortVersion = $stringtool.replaceChars($request.version, "-", ""))
8 8   #set ($shortVersion = $stringtool.upperCase($shortVersion))
9 9   #set ($shortVersion = $shortVersion.replace('MILESTONE', 'M'))
10 10   $response.sendRedirect($xwiki.getURL("ReleasePlans.ReleasePlan${shortVersion}", "inline", "$!{request.queryString}&title=New Release Plan for version $shortVersion&version=${request.version}"))

Get Connected