From: Neil B. <ne...@cs...> - 2000-10-12 04:31:01
|
On Wednesday October 11, sw...@wc... wrote: > On Thu, 12 Oct 2000, Neil Brown wrote: > > > Yes.. If we don't urlencode above we do need to do more work here. > > If we are checking the prefx, would it be sensible to include that > > into the 'protocol'. e.g. > > wikidiff: > > wikiedit: > > wikisearch: > > wikifile: > > > > etc. Which doesn't seem very elegant to me. > > > > On the whole, I think I would go back to > > wiki:diff=url-encoded-wikiname > > > > and people who choose wierd wikinames live with the consequenses. > > > > Anyone else have an opinion? > > Yes, I think we should leave it as an administrator configuration option; > at the moment the default is to dynamically determine the host name. > Admins can set the $ServerName to either the full URL or http: based on > their needs. I think this works for all cases, the choice is not hard to > make, and we don't have to risk introducing more bugs. Keep the details > out of the code and in the config file. yes....but..... This means that RecentChanges will have absolute URLs hard coded into it, so once the ServerName has been set for a wiki, it cannot be easily changed. I want to keep the detail out of the Wiki database too. NeilBrown |