[dokuwiki] Re: Show full Name instead of login name on last changes view
- From: Andy Webber <dokuwiki@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Wed, 17 Jun 2009 09:27:52 +0100
Quoting Andreas Benzler <info.benzler@xxxxxx>:
Hi list
I just stumbled over a the fact that in our wiki (shortly upgraded to
the latest release) in the latest changes view the editor is always
presented with the login name and not with the full name. Is this on
purpose? I stumbled across that because I wanted to to rename a users
login name because we would like to change some old name conventions to
new ones and all changes done with the new name show up properly with
that name but all old ones show up with the old login name. I think the
full name would make more sense here. Or did I miss some option where I
can adjust that behavior? Also when the admin changes the the login name
the acl does not get updated as well but I guess that this is on purpose
to prevent some nasty things with auto updating acls.
Hi Andreas,
The details that are displayed depend on a configuration parameter
(since 2008-10-01 when the editor_info_patch was merged
<http://www.freelists.org/post/dokuwiki/darcs-changes-20081002>). This
is controlled by the config parameter $conf['showuseras'] which is in
the admin/config page. The default is to show the username (login name).
I recently spotted one location where this should have been applied
and isn't, and filed patch
<http://www.freelists.org/post/dokuwiki/Patch-enhance-locked-by-page>
to fix it.
In DokuWiki, the username is the Primary Key for a user entity. The
metadata stores the username - any other details about the user are
looked up using the username.
If you rename your users, then changes will have been made by users
that no longer exist. Dokuwiki will do its best (it will display the
username, even if you asked for display of e-mail addresses). You
could go and edit all the metadata too to complete your renaming of
users. Likewise, as you have noticed, ACLs use the username as the
primary key.
There is no feature in Dokuwiki that will systematically rename a user
for you in all the places where usernames are stored.
Cheers
Andy
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
Other related posts: