List All Wiki Pages Creators Snippet
List all the users that have created at least one page in the wikiCode
More efficient, but requires programming rights
#set ($list = $xwiki.search("select distinct doc.author from XWikiDocument as doc where doc.author != ''", 0, 0))
#foreach ($item in $list)
* $xwiki.getLocalUserName($item)
#endA bit slower, doesn't list global users in virtual wikis, but doesn't require programming rights
#set ($list = $xwiki.searchDocuments("where exists (from XWikiDocument doc2 where doc2.author = doc.fullName and doc2.fullName <> doc.fullName)", 0, 0))
#foreach ($item in $list)
* $xwiki.getLocalUserName($item)
#endExample
Users who have created at least one page on this wiki (note that subwikis are not taken into account):- Admin
- asiri
- dpolistchuck
- ganji
- GuillaumeLerouge
- JeromeVelociter
- jurevert
- jvdrean
- jvelociter
- lucaa
- ludovic
- LudovicDubost
- marta
- mixtli
- polx
- prathap
- rrodriguez
- rssh
- Sergiu
- StephaneBarbey
- ThomasMortagne
- VincentMassol
- yish
Version 9.1 last modified by VincentMassol on 28/06/2008 at 09:17
Document data
Attachments:
No attachments for this document
Comments: 0