Last modified by superadmin on 2026/11/25 21:35

Hide last authors
Vincent Massol 13.1 1 You need administration rights on the subwiki.
2
Eleni Cojocariu 4.1 3 1. On the subwiki, open ##/bin/edit/XWiki/XWikiPreferences?editor=class##.
4 1. Type ##statistics## in the "Add new property" field, leave the type on "Boolean", and click "Add". The property is added to the class straight away.(((
5 {{image reference="statistics-class-property.png" size="extra" alt="The class editor of XWiki.XWikiPreferences with statistics typed as the name of a new Boolean property"/}}
6 )))
Eleni Cojocariu 8.1 7 1. Open ##/bin/edit/XWiki/XWikiPreferences?editor=object##, expand "Objects of type XWiki.XWikiPreferences" (which is when its fields are loaded), set the ##statistics## field at the end of the list to "Yes", and save.
Eleni Cojocariu 9.1 8 1. The field now reads "Yes", and the subwiki stores statistics from its next page view: the field is read on each request, so nothing has to be restarted, unlike a change in ##xwiki.cfg##. Nothing reads those statistics: their only interface, the [[Statistics Application>>doc:extensions:Extension.Statistics Application.WebHome]], has to be installed separately and is no longer maintained.(((
Eleni Cojocariu 4.1 9 {{image reference="statistics-object-enabled.png" size="extra" alt="The statistics field of the XWikiPreferences object set to Yes in the object editor"/}}
10 )))

Get Connected