Test spinning 2.8 some more... Perhaps this is JIRA worthy?
I think only in the sense that we should point out that the Edit:
interwiki link only works with the DefaultURLConstructor, and
probably should be removed anyway.
After all, "Edit" is not an *interwiki* link, just a brainfart of a
shortcut that has been in there for ages, and the only reason why it
is there is that I haven't remembered to remove it for the past three
years or so ;-)
/Janne
Vanilla 2.8 install...
Changing:
jspwiki.urlConstructor = ShortViewURLConstructor
jspwiki.shortURLConstructor.prefix = wiki/
Then a link like [Edit:LeftMenu] does not work. "No such page
'Edit.jsp' would you like to create it."
----
Trying:
jspwiki.shortURLConstructor.prefix = /wiki
Causes http://mr-npd/advdev//wikiMain, since baseUrl has an ending
slash
(and we need that), but [Edit:LeftMenu] works.
----
Trying:
jspwiki.shortURLConstructor.prefix = wiki
Causes http://mr-npd/advdev/wikiMain which obviously won't work, but
[Edit:LeftMenu] works.
----
Trying (out of desparation):
jspwiki.shortURLConstructor.prefix = /wiki/
Causes http://mr-npd/advdev//wiki/Main which works as a link (but
really
now!) and http://mr-npd/advdev//wiki/Edit.jsp?page=LeftMenu which
obviously doesn't work.
----
So it appears that there is some tangle between url constructors and
baseUrl and Interwiki links that should be ironed out?
I'm forced to conclude that ShortViewURLConstructor is broken
enough to
make it unusable. Or am I missing something completely obvious?
This can be seen on http://www.jspwiki.org/wiki/TestPage?version=48 if
you like.
Regards,
John Volkar
-----Original Message-----
From: Volkar, John M. [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2008 11:30 AM
To: [email protected]
Subject: Minor baseUrl comment.
Just installed 2.8 for a test spin, one minor observation:
If baseUrl does not end with a trailing slash CSS is not found causing
the page to be rendered badly.
FYI: The installer does not enforce a trailing slash.
I don't know if this is worthy of a jira issue, but fixing this
would be
newbie friendly.
Regards,
John Volkar