[pmwiki-users] Planning for 2.2.0

Patrick R. Michaud pmichaud at pobox.com
Fri Sep 22 11:35:31 CDT 2006


On Fri, Sep 22, 2006 at 10:48:11AM -0500, Patrick R. Michaud wrote:
> On Thu, Sep 21, 2006 at 10:30:21PM -0500, Patrick R. Michaud wrote:
> > 1.  Page links and page variables inside of included pages will
> > become relative by default.  [...]
> > In short, page variables and links that aren't fully qualified
> > will be treated as relative to the page in which they are written.
> > (Currently they use the page that is being browsed.)
> 
> Okay, I've run into the first major obstacle with this -- namely,
> the Site.PageActions page currently expects page variables
> such as {$Name}, {$FullName}, {$Group}, etc., to be the
> page being browsed as opposed to the page in which they are 
> written (Site.PageActions).
> 
> Changing this could be difficult on many sites that have customized
> Site.PageActions, or that are using a skin that has its own view
> of the Site.PageActions page.

In thinking about it further, all of the solutions I can come
up with this seem worse than the original problem.  So, I'm
thinking that perhaps we just "bite the bullet" on this one
and let chaos reign for a short period of time.  There shouldn't 
be many pages that need to change, and the administrator will 
always have the option of setting the transition flag that 
restores the old behavior until they have a chance to migrate 
everything into the new format.

The only alternatives I see are:
   - leave things they way they are now, which will continue
     to confuse authors in the future, or
   - leave the {$var} syntax alone, and come up with a new
     page variable syntax.

I'm not fond of either alternative.

Pm




More information about the pmwiki-users mailing list