Изменения документа XWiki Syntax Guide

Редактировал(а) Dmitriy Rybakov 04.10.2024

От версии 1.1
отредактировано Полина Герасимова
на 20.09.2024
Изменить комментарий: Install extension [org.xwiki.platform:xwiki-platform-help-ui/11.8.1]
К версии 2.1
отредактировано Dmitriy Rybakov
на 04.10.2024
Изменить комментарий: Install extension [org.xwiki.platform:xwiki-platform-help-ui/15.10.12]

Сводка

Подробности

Свойства страницы
Автор документа
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.gerasimovapd
1 +xwiki:XWiki.rybakovds
Содержимое
... ... @@ -33,7 +33,7 @@
33 33  
34 34  #set ($crtCategoryId = "$!{request.category}")
35 35  #if ($crtCategoryId != '')
36 - #set ($crtCategoryId = $mathtool.toInteger($crtCategoryId))
36 + #set ($crtCategoryId = $numbertool.toNumber($crtCategoryId).intValue())
37 37  #end
38 38  #set ($crtSectionId = "$!{request.section}")
39 39  #set ($crtSyntaxVer = "$!{request.syntax}")
... ... @@ -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($velocityCount, 1)}${extraParams}")
162 + #set ($category.url = "?syntax=$escapetool.url(${crtSyntaxVer})&category=${mathtool.sub($foreach.count, 1)}${extraParams}")
163 163   #set ($category.cssClass = "${category.id}Icon")
164 - #if ("$!{crtCategoryId}" != '' && $velocityCount == $mathtool.add($crtCategoryId, 1))
164 + #if ("$!{crtCategoryId}" != '' && $foreach.count == $mathtool.add($crtCategoryId, 1))
165 165   #set ($crtCategory = $category)
166 166   #end
167 167   ##