[pmwiki-users] Subject: Using pmwikiedit in PmWiki V2

Patrick R. Michaud pmichaud at pobox.com
Thu Feb 2 17:16:35 CST 2006


On Thu, Feb 02, 2006 at 01:20:44PM -0700, H. Fox wrote:
> On 2/2/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > On Thu, Feb 02, 2006 at 11:21:06AM -0600, Ben Wilson wrote:
> > > Sounds like ?action=append, which would be neat, as would
> > > ?action=postpend. That is, have one that adds to the top, one that
> > > adds to the bottom. :-)
> >
> > It really needs to be ?action=edit&append=1, so that the posted
> > text can still go through all of the various checks that need to
> > be performed for newly posted content (e.g., blocklists, setting
> > of page attributes, etc.)
> 
> Or ?action=edit&append=top and ?action=edit&append=bottom

That's nicer.  But another approach might be to use

   ?action=edit&insert=#anchor

which says to insert the text at the position given by #anchor, with 
insert=start and insert=end being use for the start and end of the
page.  Then we just need some way to be able to say "before #anchor"
and "after #anchor".

Pm




More information about the pmwiki-users mailing list