Modify

Opened 6 years ago

Last modified 5 years ago

#4239 new enhancement

Add ability to generate additional [wiki:username] links for each user

Reported by: fermulator Owned by: rjollos
Priority: normal Component: UserStatsMacro
Severity: normal Keywords:
Cc: rjollos Trac Release: 0.11

Description

Our configuration of trac has every user their own wiki page (mostly for contact details and the like). i.e.:

List of users:
 * [wiki:username1]
 * [wiki:username2]
 * [wiki:username3]

The ability to pass in a parameter to the UserStatsMacro to allow such generation of links would replace that hard coded list ;-0

Example UserStatsMacro call:

[[UserStats(wiki=$username)]]

might generate wiki text like:

|| User || Last Login || How long ago ||
|| [wiki:user1] || 2008/12/08 21:07:58 || <24h ||
|| [wiki:user2] || 2008/12/02 22:02:40 || 6 day(s) ||
|| [wiki:user3] || 2008/12/06 16:38:27 || 3 day(s)  ||

i.e.

User Last Login How long ago
user1? 2008/12/08 21:07:58 <24h
user2? 2008/12/02 22:02:40 6 day(s)
user3? 2008/12/06 16:38:27 3 day(s)

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by rjollos

  • Cc rjollos added; anonymous removed

comment:2 Changed 5 years ago by rjollos

  • Owner changed from pedro to rjollos

Add Comment

Modify Ticket

Action
as new The owner will remain rjollos.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.