dokufreaks / plugin-include

A DokuWiki plugin for including other wiki pages into the current one.
http://www.dokuwiki.org/plugin:include
GNU General Public License v2.0
62 stars 54 forks source link

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

Open Chris75forumname opened 3 years ago

Chris75forumname commented 3 years ago

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 commented 3 years ago

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.