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

Chris Cox ccox at airmail.net
Tue Feb 21 12:09:24 CST 2006

Patrick R. Michaud wrote:
> 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?

Didn't want it dependent on pagename... I just really
need the class=createlink and/or createtextlink back for
links that go nowhere.  BUT.. I do believe I can handle
this with a code change adding my own class....

I'll have to look into it all...  no time....

More information about the pmwiki-users mailing list