Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:dokuwiki_authorstats [2023/09/21 10:43] Samsonekotutorials:dokuwiki_authorstats [2023/09/23 23:45] (current) BIT
Line 9: Line 9:
 The following can be done manually to migrate old meta entries to a new user: The following can be done manually to migrate old meta entries to a new user:
  
-  - The meta directory under ''installation_path/data/meta'' needs to be opened.\\+  - The meta directory under ''DOKUWIKI_ROOT/data/meta/'' needs to be opened.\\
   - In the entire directory, all occurences of the old username need to be searched for and exchanged for the new username. For example, this can be done with a code editor like VS Code, which can exchange one string for another in the entire directory.\\   - In the entire directory, all occurences of the old username need to be searched for and exchanged for the new username. For example, this can be done with a code editor like VS Code, which can exchange one string for another in the entire directory.\\
-  - As the Authorstats plugin generates cache files for the contribution inforation, said files need to be deleted for the changes to take effect. For this, the ''_authorstats'' folder under ''installation_path/data/cache'' has to be deleted.+  - As the Authorstats plugin generates cache files for the contribution inforation, said files need to be deleted for the changes to take effect. For this, the ''_authorstats'' folder under ''DOKUWIKI_ROOT/data/cache/'' has to be deleted.
   - After deleting the authorstats cache, the wiki website may take a few seconds to load, as the cach files need to be regenerated.   - After deleting the authorstats cache, the wiki website may take a few seconds to load, as the cach files need to be regenerated.
   - The contribution stats of the old account have now been merged with the new account :)   - The contribution stats of the old account have now been merged with the new account :)
  
-Side note: As this method replaces all contribution data of the old account, it also affects all information contained in the changelogs for each site. This means that from an internal perspective, all records of the old account are overwritten, even from a time where the new account didn't exist yet. If this is problematic, please refrain from following this tutorial. Right now, there seems to be no other way the fix the contributions table.+ 
 + 
 +<callout type="warning" icon="true"> 
 +**Side note:** As this method replaces all contribution data of the old account, it also affects all information contained in the changelogs for each site. This means that from an internal perspective, all records of the old account are overwritten, even from a time where the new account didn't exist yet. If this is problematic, please refrain from following this tutorial. Right now, there seems to be no other way to fix the contributions table. 
 +</callout>
  • tutorials/dokuwiki_authorstats.1695285791.txt.gz
  • Last modified: 2023/09/21 10:43
  • by Samsoneko