Re: Re: Results of user testing, and space handling in links

Janne Jalkanen <[email protected]> Mon, 29 Oct 2007 21:08:58 +0200
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <[email protected]>
> Somewhere around 2.4.1xx (I am migrating from 2.4.71 to 2.5 at the
> moment) I think, there was a clean link method introduced in
> com.ecyrd.jspwiki.parser.MarkupParser
> One result is, that links such as [Joerg Meyer] should work now
> correctly (without the ugly %20), another result is, that page names
> generally start with an upper case.

Space character has been introduced very early in 2.5.  Page names  
start with an upper case since pretty much day 1 - it's just that now  
we enforce it a bit more carefully.

> However a couple of things are still odd (I posted a bug report  
> over at
> https://issues.apache.org/jira/browse/JSPWIKI-8).
> * Recent Changes (the user part)
> * this page was changed by "user"
> * user favorites (both the link and the actual page)
> * the welcome message
> get piped through the link cleaner differently

No, it's not that.  They make the assumption that the user's WikiName  
is a WikiName, not his login name.  We have four different  
identifiers: login name, full name, email address, and a WikiName  
(which we're hoping to deprecate away RSN) in favour of using the  
full name of a person.

> At the moment I am more concerned with the upper case issue, since I'm
> using LDAP usernames with container authorization (which gives me all
> usernames in lowercase)

We *should* be using WikiNames, but apparently with LDAP we use the  
login name instead of even a constructed WikiName.  Which is a  
bummer.  I am no LDAP expert, so debugging this may take a *long* time.

/Janne