Changes for page Contributors

Last modified by Yana Oksner on 2026/01/08 11:01

From version 1.1
edited by Yana Oksner
on 2023/11/30 14:52
Change comment: Install extension [com.xwiki.pro:xwiki-pro-macros/1.14.0]
To version 3.1
edited by Yana Oksner
on 2024/04/08 11:44
Change comment: Install extension [com.xwiki.pro:xwiki-pro-macros/1.16.3]

Summary

Details

Page properties
Content
... ... @@ -24,7 +24,7 @@
24 24  )))
25 25  |showCount|Show count|false|Show the contribution count for each user.
26 26  |showLastTime|Show last time|false|Show the last contribution time for each user.
27 -|page|Page|current|The page for which to list the contributions. If both page and space are empty,  the current page is used.
27 +|page|Page|current|The page for which to list the contributions. If both page and space are empty, the current page is used.
28 28  |spaces|Spaces|current|(((
29 29  Space(s) containing the page specified in the page parameter, or the space(s) to search. Several spaces can be specified using commas.
30 30  
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -172,8 +172,6 @@
172 172  #end
173 173  {{/velocity}}
174 174  
175 -{{include reference="Licenses.Code.VelocityMacros"/}}
176 -
177 177  {{velocity}}
178 178  ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right
179 179  ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that
... ... @@ -181,7 +181,5 @@
181 181  #if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference))
182 182   #executeMacro
183 183  #else
184 - {{error}}
185 - #getMissingLicenseMessage('proMacros.extension.name')
186 - {{/error}}
182 + {{missingLicenseMessage extensionName="proMacros.extension.name"/}}
187 187  #end