Changes for page Rangee Index
Last modified by Tobias Wintrich on 2025/06/04 09:20
From version 12.29
edited by Tobias Wintrich
on 2021/09/28 12:00
on 2021/09/28 12:00
Change comment:
There is no comment for this version
To version 12.28
edited by Tobias Wintrich
on 2021/09/28 11:58
on 2021/09/28 11:58
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -1,13 +1,10 @@ 1 1 {{velocity}} 2 2 ##{{tree links="true" edges="false"}} 3 3 #set($depth = $wikimacro.parameters.depth) 4 -#if ($xcontext.locale != 'de') 5 - #set($locale = '') 6 -#else 7 - #set($locale = $xcontext.locale) 8 -#end 9 9 {{html wiki=true}} 10 -language $locale 5 +language 6 +$xcontext.locale 7 +$doc.getLanguage() 11 11 <ul> 12 12 #set($results = false) 13 13 #set ($query = $services.query.xwql('where doc.parent = :doc and doc.hidden = 0 order by doc.title asc'))