This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Implemented
FS#1406 pageinfo display customization - show user name instead of uid if possible
Customization
2008-05-12commanche
Sometimes it's not appropriate to show user's ID directly on the page, while it's still usefull to show who's the author. It would be great, if dokuwiki could show the names of the user ($USERINFO['name']) instead of the ID in the pageinfo string ('Last modified ... by ...').
It wouldn't be hard to implement it:
in conf/local.php:
---
$conf['shownames'] = true;
---
in inc/changelog.php, function addLogEntry():
---
$logline['name'] = $INFO['userinfo']['name'];
---
in inc/common.php, function pageinfo():
---
if($revinfo['user']){
if ($conf['shownames'] && $revinfo['name']) {
$info['editor'] = $revinfo['name'];
}
else {
$info['editor'] = $revinfo['user'];
}
}else{
$info['editor'] = $revinfo['ip'];
}
---
2008-05-12commanche
I'm sorry, I issued a task closure request by mistake.