Änderungen von Dokument Verfügbare Makros

Zuletzt geändert von loppermann am 2024/06/30 12:35

Von Version 2.1
bearbeitet von loppermann
am 2024/06/30 12:35
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-help-ui/16.5.0]
Auf Version 1.1
bearbeitet von admin
am 2024/03/15 17:08
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-help-ui/16.1.0]

Zusammenfassung

Details

Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.loppermann
1 +XWiki.admin
Inhalt
... ... @@ -1,10 +1,10 @@
1 1  {{velocity}}
2 2  ## If the translation key exists, use its value, otherwise use to the provided fallback value.
3 3  #macro (translateOrElse $translationKey $fallback)
4 - #if($services.localization.get($translationKey))
4 + #if($services.localization.get($translationKey))
5 5   $services.rendering.escape($services.localization.render($translationKey), 'xwiki/2.1')##
6 6   #else
7 - $services.rendering.escape($fallback, 'xwiki/2.1')##
7 + $fallback##
8 8   #end
9 9  #end
10 10