Version 1 (modified by Steffen Hoffmann, 6 years ago) (diff)

inital version, making a developer reference for future discussion and work

Wiki macros provided by AccountManagerPlugin

Since r11327 (acct_mgr-0.4) the plugin offers some macros for TracWiki.

Development notes

Because I favor added-value over rather uncontrolled growth of Trac plugins I aim at integration of related plugins, addressing their outstanding issues too. See #9852 for more reasons, why I think this is especially a good idea in this case.


Featured macros

  • Stats(Username) | Stats() -- Stats for an individual: prints wiki edit and attachment statistics for a specified user or as a table for all wiki users
  • PageCount -- prints a count of the number of pages in the wiki
  • UserCount -- prints a count of the number of users in the wiki (acct_mgr plugin with the db backend required)


  • Pending No results
  • Resolved

    Error: no such function: IF
    No documentation on WikiMacros page
    Inquiring as to maintainership status


WikiStatsPlugin macroAccountManagerPlugin macro
UserCount UserQuery(count)
no limitation regarding suitable user stores


Featured macros

  • UserStats -- wiki table with all user names, last login timestamp, and the number of days that have passed since the last login


  • Pending

    Provide more useful feedback if a user has never logged in
    Allow ability to "colourize" 'How long ago' column
    Add ability to generate additional [wiki:username] links for each user
    [Patch] Show user's full name in addition to user login
    Better readability for 'How long ago' column
    Option to hide accounts that are not active

  • Resolved

    Adoption request
    "import datetime" breaks RecentChanges
    "How long ago" time does not update
    Plugin needs a license


WikiStatsPlugin macroAccountManagerPlugin macro
UserStats planned, see #9852