Changes for page XWiki Syntax Guide
Last modified by superadmin on 06.01.2023 13:12
From version 2.1
edited by superadmin
on 06.01.2023 13:12
on 06.01.2023 13:12
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-help-ui/14.10.2]
To version 1.1
edited by XWiki Admin
on 26.05.2017 08:18
on 26.05.2017 08:18
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-help-ui-9.3.1]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. superadmin1 +XWiki.Admin - Content
-
... ... @@ -33,7 +33,7 @@ 33 33 34 34 #set ($crtCategoryId = "$!{request.category}") 35 35 #if ($crtCategoryId != '') 36 - #set ($crtCategoryId = $ numbertool.toNumber($crtCategoryId).intValue())36 + #set ($crtCategoryId = $mathtool.toInteger($crtCategoryId)) 37 37 #end 38 38 #set ($crtSectionId = "$!{request.section}") 39 39 #set ($crtSyntaxVer = "$!{request.syntax}") ... ... @@ -112,7 +112,7 @@ 112 112 #end 113 113 114 114 ## Add new sections to category children map 115 - #set($child = {'id' : $sectionDoc. documentReference.name.substring(11), 'minSyntax' : $obj.getProperty("minSyntaxId").value, 'maxSyntax' : $obj.getProperty("maxSyntaxId").value, 'name' : $sectionTitle})115 + #set($child = {'id' : $sectionDoc.getName().substring(11), 'minSyntax' : $obj.getProperty("minSyntaxId").value, 'maxSyntax' : $obj.getProperty("maxSyntaxId").value, 'name' : $sectionTitle}) 116 116 $catChildren.add($child) 117 117 #end 118 118 #end ... ... @@ -159,9 +159,9 @@ 159 159 ## 160 160 #foreach ($category in $syntaxMenu) 161 161 ## "Standard" URLs and icons for categories 162 - #set ($category.url = "?syntax=$escapetool.url(${crtSyntaxVer})&category=${mathtool.sub($ foreach.count, 1)}${extraParams}")162 + #set ($category.url = "?syntax=$escapetool.url(${crtSyntaxVer})&category=${mathtool.sub($velocityCount, 1)}${extraParams}") 163 163 #set ($category.cssClass = "${category.id}Icon") 164 - #if ("$!{crtCategoryId}" != '' && $ foreach.count == $mathtool.add($crtCategoryId, 1))164 + #if ("$!{crtCategoryId}" != '' && $velocityCount == $mathtool.add($crtCategoryId, 1)) 165 165 #set ($crtCategory = $category) 166 166 #end 167 167 ##