Changes for page XWiki Syntax Guide
Last modified by Ludovic Dubost on 2020/07/30 11:21
From version 6.1
edited by Ludovic Dubost
on 2015/11/28 14:59
on 2015/11/28 14:59
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-help-ui-7.3]
To version 7.1
edited by Ludovic Dubost
on 2016/10/24 00:53
on 2016/10/24 00:53
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-help-ui-8.2.1]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -9,12 +9,10 @@ 9 9 #set($SUPPORTED_SYNTAX_ORDER = ['1.0', '2.0', '2.1']) 10 10 ## 11 11 ## filter all syntaxes that are not installed/configured 12 -#set($configuredSyntax Ids = $xwiki.getConfiguredSyntaxes())12 +#set($configuredSyntaxes = $services.rendering.getConfiguredSyntaxes()) 13 13 #set($enabledSyntaxIds = []) 14 -#foreach($syntax in $services.rendering.getAvailableParserSyntaxes()) 15 - #if($configuredSyntaxIds.contains($syntax.toIdString())) 16 - #set($discard = $enabledSyntaxIds.add($syntax.toIdString())) 17 - #end 14 +#foreach($syntax in $configuredSyntaxes) 15 + #set($discard = $enabledSyntaxIds.add($syntax.toIdString())) 18 18 #end 19 19 #set($unavailableSyntaxes=[]) 20 20 #foreach($supportedSyntax in $SUPPORTED_SYNTAX_ORDER)