[pmwiki-users] Creating a new page with GET/POST variables (or a form)

alglt at yahoo.com alglt at yahoo.com
Fri Nov 9 13:12:47 CST 2007


Hi list,

Why does this work:
 http://pmwiki.org/?action=edit&pagename=Cookbook.Testme
 http://pmwiki.org/?action=edit&pagename=Test+me     ^^
                                            ^^^
And this doesn't:
 http://pmwiki.org/?action=edit&pagename=Cookbook.Test%20me
 http://pmwiki.org/?action=edit&pagename=Cookbook.Test+me

(the "pagename" variable is parsed, but not "action")

The outcome of this is that I cannot rely on such a form:

(:input form "{$ScriptURL}":)
(:input hidden action edit:)
(:input hidden template Blog.Template:)
(:input text pagename "Blog.This is a test":)
(:input end:)

Or maybe there is some separate GET/POST variable, which could be used
to designate a WikiGroup of a new page?

-- 
Thanks,
Algardas



More information about the pmwiki-users mailing list