Changes for page ActivityMacro
Last modified by Sebastian Marsching on 2023/08/13 16:14
From version 5.1
edited by Sebastian Marsching
on 2023/08/13 16:14
on 2023/08/13 16:14
Change comment:
Migrated property [type] from class [XWiki.WikiMacroParameterClass]
To version 2.1
edited by Sebastian Marsching
on 2022/08/02 11:45
on 2022/08/02 11:45
Change comment:
Migrated property [defaultCategories] from class [XWiki.WikiMacroClass]
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Cached
-
... ... @@ -1,1 +1,0 @@ 1 -No - Asynchronous rendering
-
... ... @@ -1,1 +1,0 @@ 1 -No - Macro code
-
... ... @@ -1,16 +1,7 @@ 1 1 {{velocity}} 2 2 #set ($wikis = '') 3 -#if ("$!xcontext.macro.params.wikis" != '') 4 - #set ($wikis = $xcontext.macro.params.wikis) 5 -#elseif ($services.wiki.currentWikiId != $services.wiki.mainWikiId) 3 +#if ($services.wiki.currentWikiId != $services.wiki.mainWikiId) 6 6 #set ($wikis = $services.wiki.currentWikiId) 7 7 #end 8 -{{notifications useUserPreferences="false" displayOwnEvents="true" 9 - count="$services.rendering.escape($xcontext.macro.params.entries, 'xwiki/2.1')" 10 - wikis="$services.rendering.escape($wikis, 'xwiki/2.1')" 11 - #if("$!xcontext.macro.params.spaces" != '')spaces="$services.rendering.escape($xcontext.macro.params.spaces, 'xwiki/2.1')"#end 12 - #if("$!xcontext.macro.params.authors" != '')users="$services.rendering.escape($xcontext.macro.params.authors, 'xwiki/2.1')"#end 13 - #if("$!xcontext.macro.params.tags" != '')tags="$services.rendering.escape($xcontext.macro.params.tags, 'xwiki/2.1')"#end 14 - #if("$!xcontext.macro.params.minor" != '')displayMinorEvents="$services.rendering.escape($xcontext.macro.params.minor, 'xwiki/2.1')"#end 15 - #if("$!xcontext.macro.params.rss" != '')displayRSSLink="$services.rendering.escape($xcontext.macro.params.rss, 'xwiki/2.1')"#end /}} 6 +{{notifications useUserPreferences="false" displayOwnEvents="true" count="$xcontext.macro.params.entries" #if("$!xcontext.macro.params.wikis" != '')wikis="$xcontext.macro.params.wikis"#{else}wikis="$wikis"#end #if("$!xcontext.macro.params.spaces" != '')spaces="$xcontext.macro.params.spaces"#end #if("$!xcontext.macro.params.authors" != '')users="$xcontext.macro.params.authors"#end #if("$!xcontext.macro.params.tags" != '')tags="$xcontext.macro.params.tags"#end #if("$!xcontext.macro.params.minor" != '')displayMinorEvents="$xcontext.macro.params.minor"#end #if("$!xcontext.macro.params.rss" != '')displayRSSLink="$xcontext.macro.params.rss"#end /}} 16 16 {{/velocity}} - Default categories
-
... ... @@ -1,1 +1,0 @@ 1 -Notifications - Default category
-
... ... @@ -1,0 +1,1 @@ 1 +Notifications