This is an old revision of the document!
Editing the Dokuwiki Authorstats
If a Dokuwiki Installation is used with an Active Directory, user names and accounts may change. In code, the Authorstats plugin reads Dokuwikis meta folder containing all information about site edits and creations, and generates the Authorstats table from it. For this, every unique string at the user name position is seen as an account, and listed separately in the table.
This means that after any change in user name, no matter if through individual modification or switching to a different Active Directory, all edits from this point on are tracked as a new user. To avoid this and keep all pervious edit statistics even after a name change, the Authorstats plugin and Dokuwiki offer no obvious solution. The following can be done manually to migrate old meta entries to a new user:
1. The meta directory under “installation_path/data/meta” needs to be opened. 2. In the entire directory, all occurences of the old username need to be searched for and exchanged for the new username. This can for example be done with a code editor like VS Code