[pmwiki-users] Links to nothing changes cause side effect

Patrick R. Michaud pmichaud at pobox.com
Mon Feb 20 21:55:37 CST 2006


On Mon, Feb 20, 2006 at 05:57:21PM -0600, Chris Cox wrote:
> Well... I know people didn't like the links to nothing bringing up
> the editor... and didn't like the question marks... ALL of which
> were trivially dealt with btw... so now we have always have links.

No, not really.  Links w/o parameters to non-existent pages still
bring up the editor, and still render with the question mark.
It's only links with parameters that have been changed.

I'll admit that I didn't expect this change to break anything
like it did with the PmCalendar recipe.

> This is frustrating since I see no good reason for the change.  
> [...]
> Why did we do this again?

It has actually arisen at least three different (and independent)
cases where this change made sense.

> I can
> probably write CODE (yes.. .code, css is now useless for this) to
> try to do something by adding my own class... but even then the behavior
> is radically different since you now go to a sub-step before
> actual edit.

Oh, we can probably fix it without having to resort to code.
Perhaps if PmWiki chose to create edit links to non-existing
pages except if a query string has "action=" in it somewhere?
That would seem to handle all of the cases we're discussing
at present.

Out of curiosity, is there a reason why PmCal needs to send 
year= month= day parameters rather than just getting it from 
the pagename?

Pm




More information about the pmwiki-users mailing list