01264: Create a format abstract for ?action=

Summary: Create a format abstract for ?action=
Created: 2011-09-14 14:53
Status: Open
Category: Feature
From: Matt
Assigned:
Priority: 2
Version: 2.2
OS: linux2.6/apache2/php5

Description: I'd like to suggest an abstract able to be set in the local config file for the page actions query string. Specifically those cases when the /Group/Page are used as a query string.

For instance, mod_rewrite changes the url: server/Group/Page to server/pmwiki.php?name=/Group/Page

In that case ?action=edit must be submitted as &action=edit URLs could be rewritten differently, but it would still be useful to create a user alterable format for this input.

PmWiki already knows how to handle it correctly. Look at this site: http://www.pmwiki.org/wiki/PITS/01264?action=edit is the same as http://www.pmwiki.org/wiki?n=PITS.01264?action=edit and it just works. --Petko September 14, 2011, at 03:36 PM

Additionally, I believe that PmWiki on the default install handles it correctly as you can use http://www.pmwiki.org/wiki/index.php?n=PITS.01264&action=any-action-you-want in any link markup you want, but if you want to use the cleanurls recipe, than the problem appears and is specific to the recipe and not PmWiki. CarlosAB September 16, 2011, at 01:38 AM