imnotgoats
Hi there,
The publish plugin is almost exactly what I need, however I have one issue that I'm really hoping I can get around. By default, the plugin displays the latest approved page to all users with AUTH_READ, and the latest page (regardless of approval) to anyone with AUTH_EDIT or above.
What I would really like to do is change this so everyone with EDIT still views only the approval page by default, and perhaps the edit function could result in the most recent draft.
Is this possible? It would enable me to have users who can rely on the data they find and edit these articles, but also moderators who can verify changes before they become displayed by default.
I would be extremely grateful if anyone can offer me any help or advice.
Thanks!
andi
I hope you already read
http://www.dokuwiki.org/faq:approval
imnotgoats wrote
What I would really like to do is change this so everyone with EDIT still views only the approval page by default, and perhaps the edit function could result in the most recent draft.
And then multiple people will edit from the same (old version) and your moderators can try to figure out how to merge this mess. Bad idea.
Don't use a wiki if you don't want a wiki.
imnotgoats
Thanks for your response, Andi.
I had already read the FAQ and I do understand the nature of a wiki, however, the project I am currently working on requires all the functionality of a wiki only with the addition of this approval functionality. I understand it is an adaptation of how the software is traditionally used, but the publish plugin exists and appears to work only slightly differently from how I need it to.
If you look at where you quoted me, what I was saying at the end was about a redirection of the edit function to the most recent draft. I have seen this on another wiki platform, but the rest of the package really wasn't half as good as Doku.
Would it not be relatively straightforward to automatically have users see 'approved' by default (just changing the user level that this is already set to), and making the edit this page link redirect to editing the latest draft?
If this is really impossible, do you know of any alternatives to a wiki that would work in the same way (search, edit, comparison, wiki linking and page creation etc.), only with approval functions?
Thanks!
andi
imnotgoats wrote
Would it not be relatively straightforward to automatically have users see 'approved' by default (just changing the user level that this is already set to), and making the edit this page link redirect to editing the latest draft?
Sure it would technically be possible but is a usability nightmare. When I see a text and decide that it needs editing, then I expect to edit the text I just saw.
imnotgoats
Hi Andi,
Thanks again for your response. I take on board what you are saying and personally agree with you, however not being in control of the overall direction of the project, it would be useful for me even to be demonstrate this issue, so as to potentially sway the non-technical people in charge of this project (by showing both alternatives).
With this in mind is there any chance you would be able to tell me what would need modifying in order two acheive the two things I am after?:
1) Latest approved page is default for all users.
2) "Edit this page" automatically redirects to editing most recent revision, whether draft or approved.
I do understand your reservations, but I would be so grateful if you would be able to help me on this.
Thanks!
andi
I'm not the author of the publish plugin so I can't say anything about it. You could ask the author, but usually people are reluctant to implement something just to prove that it's a bad idea ;-) Of course you can always pay someone to do it.
Good luck.
imnotgoats
Hi Andi,
Thanks for you response.
I have managed to modify the plugin to display what I want to users.
The one thing i still need to do, which appears to pertain to the native Dokuwiki functionality, is simply make it so every time a user clicks 'edit this page', it automatically edits the most recent version of said page, with no exceptions (i have no reason to let users edit old revisions anyway).
Would you possibly be kind enough to let me know if there's a simple way to acheive this with the 'edit this page' button? If not, could you at least point me to what needs modifying?
Thanks!
andi
You are aware that this would make it impossible to restore old versions of a page I assume.
Each edit button is its own little form. When it contains a rev field then it will edit an old revision. Simply removing this will make the edit button always go to the newest version.
imnotgoats
Thank you, I really appreciate it.
Yes, I am aware of this, but for the time being it makes the site work to spec (internal arguments can now ensue).
Thanks again! :-)