[Pmwiki-users] &action= documentation

Patrick R. Michaud pmichaud
Fri May 14 06:24:56 CDT 2004


On Thu, May 13, 2004 at 10:56:22PM +0100, J. Meijer wrote:
> Please note that '?action=' does not work on my 'pagename='-style urls,
> while the pmwiki documentation refers to '?action=' instead of '&action='.
> On 17 pages.
> On only 2 pages there is a reference to '&action=', including the only(?)
> active one: the SideBar. The other page is PasswordsAdmin saying:
>   "Add ?action=crypt or &action=crypt to the end of any PmWiki URL"
> Confusing.

Indeed.  I'm wide open to any improvements in the documentation or
code.

> Another question: why doesn't pmwiki use relative urls? Much more compact
> html? Could this be an option?

Sure, it's an option.  Just do

    $ScriptUrl = $_SERVER['SCRIPT_NAME'];

in config.php and PmWiki will use relative URLs.  There are a few rare 
cases where using the absolute URLs made things a bit easier than the 
relative ones.

Pm



More information about the pmwiki-users mailing list