This question about Using an extension: Asked
Lowercase surname using RewriteWikiNames
In our LDAP catalog users are represented using following format: "Firstname SURNAME".
I would like to change surname lettering to Propercase using
RewriteWikiNames.
What hash mapping rules should I use?
In that case you don't need a rewrite rule at all. Just list the two attributes in
{WikiNameAttribute}
, e.g.
$Foswiki::cfg{Ldap}{WikiNameAttribute} = 'givenName, sn';
The values of these two attributes will be concatenated and in case you enabled
{NormalizeWikiNames}
will these be wikified to form proper WikiWords.
--
MichaelDaum - 21 Apr 2011
Michael, thx for answering, but I have exactly the same
WikiNameAttribute configuration from the start, and still receive
DanielKOWNACKI as username.
I must mention that in my old 1.0 installation I somehow fixed it long long time ago...
--
DanielKownacki - 22 Apr 2011