Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show last editor with date of last modification instead - showuser #272

Open
Chris75forumname opened this issue Aug 25, 2021 · 1 comment

Comments

@Chris75forumname
Copy link

Chris75forumname commented Aug 25, 2021

It would be more intuitive to show last editor next to the date of last modification (showmdate), instead, when showuser option is selected, since this would mirrow the entry in the footer of the original page.
To show the original author of the page next to the date of last modification is misleading!
Thus, the option "showeditor" should be included in the admin panel as an alternative to "showuser"!

@Chris75forumname
Copy link
Author

Chris75forumname commented Aug 25, 2021

My workaround is the following:
In dokuwiki/lib/plugins/include/syntax/footer.php look for the comment // author !
Modify the $author variable as follows: $author = $meta['last_change']['user']; // ++++ Edited ++++
Now, if the showuser option is selected in the admin panel, the last editor is shown in the footer of the included page or section, instead of the creator of the original page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant