[Pmwiki-users] page draft tryout

John Rankin john.rankin
Fri Jul 16 19:12:22 CDT 2004


On Saturday, 17 July 2004 7:40 AM, J. Meijer <commentgg at hotmail.com> wrote:
>
>
>I got a bit lost :-/

It does take a bit of getting used to. The conventions are here:

http://intranet.affinity.co.nz/wiki/DraftWP/Conventions

I think it's good for specialised uses, not general wiki editing.

>
>What I would like to see is the bare minimum: only when viewing the page one 
>would see a link to the draft, and from the draft back to the original. Each 
>page has an EditPage link, which works the same as it does now. Really 
>simplistic.

If I understand you correctly, I don't think that quite works:
- if the edit page link edits the page you see (ie either the draft or the 
  original, depending on the view you are on), then here's what happens

1. I edit a page and press Preview & Save Draft; now we have an
   original plus a draft

2. I edit the draft and press Preview & Save Draft; the original
   is unchanged and the draft is updated

3. I edit the original and press Preview & Save Draft; we just
   over-wrote the newer draft -- which may be what we wanted
   to do, but it may not

So I concluded it was safer if Edit always edits the draft if one exists.

For your scheme to work safely, I think we'd have to come up with a way
to make it obvious that a newer draft is about to be over-written
and any changes will be lost. 

It would be useful to have a link that lets people edit the original, 
but I'm not sure where to put it, for the reason given above.

But I might have misunderstood what you have in mind.

And I can easily turn off the &iexcl; from links to pages with drafts, 
and just show it on the page itself. I wondered about that so made it 
configurable.

And what would you do about links to pages where a draft exists but there
isn't an original?


>Any save operates on the original page. The draft is only deleted when it is 
>saved to the original page or when it is deleted.

Yes

>
>jan
>
>
>
>ps This is what I saw at PageB, which has a draft:
>
>
>  DraftWP
>  Page B ?
>  Home Page ? Page B ?
>  This page has a draft as well as the original
>
>  Note how the display alters ? the title and Edit Page link
>each gain an *
>
>  Try clicking on the *
>
>
>Don't know, but I see no '*'.

Sorry, the draft was more up to date than the original...

Now correct (I hope).

Thanks for pointing this out.

-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list