Changes for page Active Installs Server Application
Last modified by Admin on 2023/06/12 00:19
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. Admin1 +xwiki:XWiki.VincentMassol
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -12,6 +12,28 @@ 12 12 13 13 == Features == 14 14 15 +=== 7.2 <~= XWiki === 16 + 17 +* A new Velocity Macro has been introduced to compute the number of Active Installs having a specific Extension. For example: 18 +((( 19 +{{code language="none"}} 20 +{{include reference="ActiveInstalls.ExtensionCount"/}} 21 + 22 +{{velocity}} 23 + #set ($extensionIds = [ 24 + 'org.xwiki.contrib:xwiki-totem-application', 25 + 'jsimard:event-reporter-application', 26 + 'mouhb:likeapplication' 27 + ]) 28 + |=Extension Id|=Count 29 + #foreach($extensionId in $extensionIds) 30 + #countActiveInstallsUsingExtension($extensionId $count) 31 + |$extensionId|$count 32 + #end 33 +{{/velocity}} 34 +{{/code}} 35 +))) 36 + 15 15 === 6.1 <~= XWiki === 16 16 17 17 The UI displays: