Découvrez les nouveautés de cette version : Fonctionnalités, améliorations et évolutions vous attendent ! 👉 Cliquez ici pour en savoir plus

Modifications pour le document RecentlyUpdated

Modifié par superadmin le 21/07/2025 - 08:55

Depuis la version 3.1
modifié par Admin
sur 01/02/2025 - 11:40
Commentaire de modification : Install extension [com.xwiki.pro:xwiki-pro-macros-ui/1.26.1]
À la version 1.1
modifié par Admin
sur 24/06/2024 - 15:21
Commentaire de modification : Install extension [com.xwiki.pro:xwiki-pro-macros/1.18.3]

Résumé

Détails

XWiki.WikiMacroClass[0]
Code de la macro
... ... @@ -54,7 +54,8 @@
54 54   #end
55 55  
56 56   ## Authors
57 - #set ($options.authors = "$!stringtool.strip($!stringtool.join($!wikimacro.parameters.author, ','))")
57 + #set ($options.authors = "$!stringtool.strip($!wikimacro.parameters.author)")
58 +
58 58   ## Wiki & Spaces
59 59   #set ($confluenceSpacesString = "$!stringtool.strip($!wikimacro.parameters.spaces)")
60 60   #set ($options.spaces = $NULL)
... ... @@ -155,7 +155,7 @@
155 155  ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right
156 156  ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that
157 157  ## don't have view right on those pages.
158 -#if ($services.promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference))
159 +#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference))
159 159   #executeMacro
160 160  #else
161 161   {{missingLicenseMessage extensionName="proMacros.extension.name"/}}
Default categories
... ... @@ -1,1 +1,0 @@
1 -Content
XWiki.WikiMacroParameterClass[0]
Type du paramètre
... ... @@ -1,1 +1,1 @@
1 -com.xwiki.macros.internal.userlist.UserReferenceList
1 +java.lang.String
XWiki.WikiMacroParameterClass[6]
Description du paramètre
... ... @@ -1,0 +1,1 @@
1 +Choose the appearance of this macro: "concise" - the default list, showing the names of pages which were updated or commented on, the users who made the page modifications and time when the modifications occurred. "social" - lists recent modifications in reverse chronological order, but groups them by user into short time segments. A 'sub' list appears within each user's time segment, showing the names of pages which they updated or commented on and time when these modifications occurred. "sidebar" - lists recent updates in reverse chronological order, showing the names of pages which were updated or commented on and time when the page modifications occurred. This theme does not show authorship.
Type du paramètre
... ... @@ -1,1 +1,1 @@
1 -com.xwiki.macros.internal.recentlyupdated.RecentlyUpdatedThemeEnum
1 +java.lang.String
XWiki.WikiMacroParameterClass[7]
Description du paramètre
... ... @@ -1,0 +1,1 @@
1 +Specify "showProfilePic=true" to display the profile pictures of the users who updated the content.
XWiki.WikiMacroParameterClass[8]
Description du paramètre
... ... @@ -1,0 +1,1 @@
1 +Determines whether the macro hides or displays the text 'Recently Updated' as a title above the list of content. Only available in wikimarkup and storage format. Accepted values: "true" - Title is hidden, "false" - Title is shown.