[dokuwiki] control how how a user is identified

  • From: Robin Getz <robin.getz@xxxxxxxxxx>
  • To: DokuWiki Mailinglist <dokuwiki@xxxxxxxxxxxxx>
  • Date: Fri, 4 Feb 2011 15:00:29 -0500

Dokuwiki includes the config['showuseras'] 

http://www.dokuwiki.org/config:showuseras

to control how how a user is identified, which currently takes:

    * 'loginname' users login name
    * 'username' users full name
    * 'email' e-mail address (will be obfuscated as per mailguard)
    * 'email_link' e-mail address as a mailto: link (obfuscated)

However - on our wiki, there is a special group, who would like to be 
identified as such.

For example editorinfo('rgetz') should return "rgetz (foo)" if that user is a 
member of the special "bar" group. This helps identify people visiting the 
wiki if an "expert" has written the documentation or not.

Think on the dokuwiki wiki - would pages be trusted anymore/less if you knew 
the modifications were made by someone in a "Dokuwiki Developer" group. I 
think so. This is more true for people new to things, who don't know who is a 
developer, and who is not...

I can do this with a small patch to ./inc/common.php:editorinfo(), and a new 
$conf[] but wanted to get people's opinion if this was general purpose enough 
to bother, or if there was a different way to do this.

-Robin

-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: