[pmwiki-users] {$UrlPage}
Patrick R. Michaud
pmichaud at pobox.com
Sat Oct 15 18:17:17 CDT 2005
On Thu, Oct 13, 2005 at 09:55:34PM +0100, David Jackson wrote:
> >The {$UrlPage} variable is set only if the page name given
> >isn't a valid pagename. Since PmWiki considers "Main.testingPageNotFound"
> >to be a valid pagename, it doesn't set {$UrlPage}.
> >
> >There's a good argument to be made that this isn't the correct
> >behavior, but since I don't know a better one that's what we have
> >at the moment.
> >
> >
> I've tried to find a non-valid pagename, but can't seem to find one!
> All I get is the same issue or as Joshua said, describe page here. Am I
> being dim? I'd like to set this so if some one clicks on a now 'non
> existing' page in Google, they get this behaviour.
PmWiki never considers any page to be "not found" -- like many wikis
it treats a request for a non-existent page name to be an invitation
to create the page.
However, it makes perfect sense to me that perhaps one would want a
non-existent page to produce a "404 Not Found" for certain applications.
I'll see about adding this as an option into the core.
Pm
More information about the pmwiki-users
mailing list