Djun Kim and I had coffee the other day and were kind of reminiscing about the Vancouver documentation session and some of the items that came out of that. Other people have mentioned before the "digg vs. slashdot" factor, and I think we all generally agree that we need to reduce barriers as much as possible for people to update documentation.

The system for the handbook we have now, quite frankly, kind of stinks. While it's arguably harder for people to put spam/garbage in the handbook (people can add pages about viagra willy-nilly but they're placed in the moderation queue first), it also is harder for "normal, do-gooder" people to submit/correct documentation. New pages can sit in the moderation queue for days (or longer) before someone gets a chance to approve them, module developers need to contact members of the site admin team to update their own documentation in the handbook, and the only way for Joe Random who discovers a typo in the text to fix it is to create a documentation "bug" rather than just edit the text directly. The concept of using "bugs" to track documentation problems is totally counter-intuitive to people who have skills in writing and editing but not coding (and some great writers fall into this category), and it also turns what would be a "few seconds" fix into more like "few minutes" fix which doesn't actually get fixed, but instead sits in a queue until someone has a chance to take a look at it, hours or days down the road.

In short, there are a lot of barriers in front of people who want to help improve the handbook documentation, and removing those barriers is necessary if we want the documentation to truly shine.

One idea is to move the handbook to a completely separate domain, such as docs.drupal.org and point the Handbook link over there. We'd hand 'administer nodes' privileges out to either everyone, or just authenticated users. Site admins get "administer users" privileges and can handle banning people who want to try and abuse these privileges. This would also allow us to install additional modules such as Markdown with SmartyPants to make documentation editing easier, or Export DXML to allow other sites to pull the handbook pages for themselves, without worrying about the performance/security(?) implications for the main Drupal.org site. If I'm trusted enough (and it is totally fine if I am not), I would volunteer for putting this together.

If we want to keep everything at Drupal.org, that also works. We have a new permission in 4.7 of "edit book pages" which is like "administer nodes" except only for books. Just dole that out to all authenticated users and bang, you're done.

"Edit book pages" permission to all authenticated users still too risky? How about this? I code up a module or patch for book module (or maybe actions/workflow could work for this??) so that upon creating a new handbook page that gets moved out of moderation queue by a site admin, you are added to a "documentation team" role that has "edit book" privileges.

One way or the other though, we really need to fix this. Those are some suggestions, anyone else have any others?

CommentFileSizeAuthor
#18 moderate_nodes_patch0.txt3.18 KBpwolanin

Comments

sime’s picture

A quick newbie case study.

In the last couple of days I have contributed to Amazon's efforts to improve the E-Commerce handbook pages. My main interest was to change the parent/child relationship of the pages.

It was extremely difficult. Each alteration (like changing the parent page) put the document in the moderation queue, and I could not "see" the results of my actions. So after a few simple changes I was completely lost. If I didn't have Amazon's support (processing some of my changes) I would not have been able do anything effectively without an essay-length ticket in the doc queue.

Also, any page with a table is also out-of-bounds (Full-HTML), and this has also been frustrating. The only way to do this is to create my own html and then post the file to the issues queue. And what about the inevitable minor change?

So, while the current process "works" (as witnessed by a lot of great documentation), I agree with webchick that it is counter-intuitive for writers and obstructs the natural writing process.

thanks, Simon

cel4145’s picture

+1 for opening up editing the handbook pages to all registered users. IMHO, there is no evidence that this is "too risky." If it creates a problem, we could always revert back to the current editing privilege setup or seek another solution.

Anonymous’s picture

I agree with webchick that the barriers to contributing are far too high.

Contributing is cumbersome, the "bugs" approach doesn't work for editors, and so on.

I have 35 years of experience in professional editing. Could I offer a small contribution sometimes? Yes--if you make it easy for me.

At http://drupal.org/node/50464 (you can skip to the bottom of the page) you can see a suggested rewrite I've done for one page of documentation. I submitted this 15 weeks ago. No response.

Poor rewrite? Submitted to the wrong place? Said too much before I got to the point? No one cares? I really have no way to know. Do I feel encouraged to contribute more? Well. . . .

On another point--permissions. A possibly useful tool for assigning access permissions, if we'd rather have something other than "everyone," might be the Simple Access module: http://drupal.org/project/simple_access.

Cordially,
O Govinda
www.jswami.info

zirafa’s picture

+1 to what webchick says. It should really be Wiki-wiki-wiki-wiki style. We open all docs to community editing and if someone messes something up we just roll back to a previous revision. Perhaps we could log these events (I'm guessing revisions get logged anyway) so that we could monitor if trolls are going around destroying docs pages and boot them (to the moon).

Farsheed

Amazon’s picture

What page are you trying to replace? A page in the handbook or the help text inside the Drupal software?

Kieran

Anonymous’s picture

Amazon wrote:

"What page are you trying to replace? A page in the handbook or the help text inside the Drupal
software?"

If that's a question for me, I first of all had in mind the text at Home>>create content inside the Drupal software.

I also see ways to improve the "book module" help page in the handbook (which nearly matches the help page inside the software).

Cordially,
O Govinda
www.jswami.info

rivena’s picture

There are 3 suggestions around for reducing barriers.

1. Create a separate domain for the handbook.
Plus is a great deal more flexibility over, well, everything. You could even make it wiki-ish.
Minus, people will no longer be able to search it within Drupal itself. *many* page links will be broken.

2. Increase the number of people with edit and create pages (without moderation) permissions.
This could be done through clear instructions in the handbook.
Plus: People who took a little time to look for this info will easily be able to get the right permissions.
Minus: No real minuses. :)

3. Let all registered users add pages to the handbook without moderation, and edit their own pages.
Plus: very low barrier to entry, very transparent.
Minus: Crud will be created, and maintaining quality problems remain.

Those are the ideas, in a nutshell, I think. 2 is the easiest to implement, 1 the hardest. Even if you do 1, you may still get the problems of 3. None of these, by themselves, actually solve the long term goal of getting a beautiful, easy to use, handbook.

Be brave and valiant, and, you know, pick one, already. ^.^

Anisa.

pwolanin’s picture

I very much like this proposal at the top by webchick:

I code up a module or patch for book module (or maybe actions/workflow could work for this??) so that upon creating a new handbook page that gets moved out of moderation queue by a site admin, you are added to a "documentation team" role that has "edit book" privileges.

I think this would eliminate 99% of the possible "bad guys". Obviously, this process would need to be explained clearly, but I think would reduce the frustration level when encountering typos/broken links (such as on http://drupal.org/node/326 where I noticed an issue to fix the links on the queue many days ago).

dries’s picture

I created a "documentation maintainer" role on drupal.org. Steven Peck can assign people to this role, and such people will be able to edit the handbooks freely.

rivena’s picture

Hm... I tried editing a page, submitted, and it doesn't show up... Doesn't show up in the moderation que either. Am I supposed to wait? I seem to recall something annoying like that before...

And what about the moderation queue? Or is that outside of the doc maintainer purview?

Anisa.

sime’s picture

According to this email I have been assigned the new role.
http://lists.drupal.org/pipermail/documentation/2006-June/004094.html

I have been experimenting with my new powers. However, things feel eerily the same! Examples of some things I aspire to do (starting with the most useful and working down):

1) I need to edit some pages but I can't: http://drupal.org/node/52743 (Full-HTML)

2) If I move a page, it goes into the moderation queue and I cannot process it. So it cannot be seen in the handbook until someone processes it.

3) I want/need to be able to delete some pages, eg.: http://drupal.org/node/50359 (ok, this is rare)

As far as I can tell, the only thing that has changed is I can now see an "Edit" sub-menu tab on some pages, however I could always edit (many of) these pages just by adding "/edit" to the end of the url.

There are two things I really want: Moderation Queue and Full-HTML editing. At least, I think the new role that has been created should have these things, with a screening process for candidates if that is necessary.

Thanks

cel4145’s picture

"1) I need to edit some pages . . ."

It looks like the Full HTML input filter needs to be updated to allow documentation maintainers to access it before you'll be able to edit any pages which use Full HTML.

"2) If I move a page, it goes into the moderation queue . . ."

Right. The only additional permission offered by the documentation maintainers role is the ability to edit all book pages (that is, except for (1)). That does not include the moderation queue since that requires different administrative access.

"3) I want/need to be able to delete some pages"

See my reply to (2).

"There are two things I really want: Moderation Queue and Full-HTML editing."

At the very least, seems like to me like documentation maintainers would need Full HTML input format rights or otherwise many pages will be inaccessible to them.

rivena’s picture

At very least, it's rather meaningless if 'doc maintainers' are moderated. :)

Anisa.

pwolanin’s picture

Does drupal.org have any non-core modules installed that are involved in content moderation? If not, then I don't think there is a mechanism (other than the all-powerful admininster nodes permission) in the core modules to allow one user role to submit pages without moderation while requiring another user role to be moderated.

sime’s picture

Just reporting back on my experiences.
The added filter is great. It is making life much much easier.

The moderation queue seems to be growing quite quickly. Unless I mis-counted, it grew by 20 over the course of a few days.

Maybe someone can tell me. What happens if there is a change pending in the queue, and then someone edits the live page? Do the changes get lost?

pwolanin’s picture

I don't think there *is* a live page if it's in the queue. I think that's a strong argument for giving more editors access to the moderation queue as well.

sime’s picture

pwolanin
Ahh, you are right. I wonder, does that mean I can put the whole Handbook off-line if I edit a top level page? Eek! I don't think I'll experiment.

As discussed earlier, the only way to give more people access to moderation is to make them site admins. It's problematic to say the least.

pwolanin’s picture

Status: Active » Needs work
StatusFileSize
new3.18 KB

how about a 'moderate nodes' permission?

the attached patch adds another permission to node.module. Allows those with permission to approve or unpublish nodes at the admin interface /admin/content

laura s’s picture

What about using nmoderation.module to assist in this? Doc contributors (but not regular users) can be given moderation access to vote up a page out of moderation into publication. Or use the queue module (although I understand that is being phased out). Drupal has ways to moderate content without admin access -- after all, that's one of the appeals of Drupal to community sites. Maybe it's time we added some more of our own dog food to the mix?

webchick’s picture

pwolain: I'd move the patch to the Drupal issue queue and link the issue ID back here... no one's going to see it here, unfortunately. ;(

The "putting a node back in moderation queue removes it from the nav" is a known issue, and there is a patch for adding a "draft" mode here: http://drupal.org/node/48731 -- needs some work and some testing to get it in. It's on my "todo" list but unfortunately so are 145,000 other things. ;P

sime’s picture

@webchick
Still trying to grapple with your "sad wink" smiley - disturbing! :-)

I'll certainly take you up on the "save as draft" link.

Question: If drupal.org uses 4.7.x and there is a feature freeze on 4.7, does that mean that features in drupal.org must also wait for 4.8?

sime’s picture

in answer to my last question, to quote killes:
"there are a few minor hacks, but otherwise it is pretty stock 4.7."

sime’s picture

Category: feature » task
Status: Needs work » Active

Reverting this to a task to reflect open discussion.

The "moderate nodes" patch #18 is moved to here: http://drupal.org/node/71456

pwolanin’s picture

Trying to make this functionality available *now*, I rolled an entire separate module:

http://drupal.org/project/content_moderator

your review and feedback as to its possible use on Drupal.org would be appreciated.

laura s’s picture

Going by the description, this sounds like a fabulous module. Nice anticipation of avoiding going back into moderation and/or gaining access to restricted content.

pwolanin’s picture

Has anyone tested/reviewed my module? There seem to be lots of posts in the handbook moderation queue on drupal.org, and I'd like to think that this is a short-term solution for getting more people involved and more pages reviewed and approved.

naught101’s picture

this proposal might be a good way of getting more people involved:
Proposal: Drupal documentation wiki
http://drupal.org/node/105915

see also the forum post on the same topic:
Drupal wiki for documentation?
http://drupal.org/node/105706

sepeck’s picture

some of the initial assumptions of this post are no longer valid as handbook pages no longer go into moderation.

zoon_unit’s picture

Why not use the excellent userpoints module on Drupal.org? That way, members who have posted many times over a week or two would automatically gain the right to add/edit handbook pages. This would eliminate spam while making documentation more user friendly.

RobRoy’s picture

Heh, pretty much anyone can add/edit handbook pages. They just have to *want* to.

senpai’s picture

I'd just like to toss another two cents into the coinslot. Not everyone who wants to edit Handbook pages is good at getting complex technical ideas across in writing. If the Handbook system were open to all users, most users, or users with more than 20 forum posts, we'd have a mess. That's just the way of it.

I know firsthand that once the entire group of people is turned loose on a task, that task is never completed in a satisfactory way for use by the group. Case in point: I'm cleaning some databases for a 10-member sales team who can't even manage to format a US name, address, phone, and email the same way. And all of these people were trained by the same leader in the same office building!

Documentation writing requires some skill in verbal communication mixed with a newspaper editor's formatting skills. Toss in an intimate understanding of the topic you're writing about without actually being a coder yourself. We all know coders can't write documentation. Ever read a VCR instructional? :=)

What I'm saying is, those people with the skills and the drive to achieve are going to make it onto the team. Joining the Documentation Team is not hard. In fact, the more the merrier. As of March 2007, the Documentation Team has access to move, edit, reword, delete, or add to any Handbook page in the book, with the exception of the top-level pages. That's more than enough power to get the job done, I'd say.

Inviting the entire world to change anything at random is just never going to work like everyone hopes it will. That's all.

pyutaros’s picture

I would like to suggest the LIQUID WIKI ENGINE module for a Drupal native wiki implementation. The module also provides advanced access control to limit who can edit or delete. The wiki allows books to retain their heirarchy even when inserted into the wiki. (http://drupal.org/project/liquid) I would also suggest using a module like USER POINTS to automatically promote users to the Documentation Team role after a certain amount of content has been added by said user. (http://drupal.org/project/userpoints)

For a live demo of Liquid and User Points, go to http://www.kfol.org/ <== Yes, it shamelessly points to my own website.

Note: Whether a wiki or a book module, the functionality appears to be the same. Wiki provides a familar framework for some to use a standard markup language. However, I believe Revisions are handled by the core so I'm not sure there is much of a gain in funtionality by providing a wiki framework. I believe the gain is on a UI familiarity level.

pwolanin’s picture

Sorry to be harsh- but I think this is a bad idea. If a spammer adds 10 pages, he then gets to edit all pages on d.o before someone notices?

sepeck’s picture

Status: Active » Fixed

a group was created a while ago with edit books rights. this was assigned to the documentation team.

Anonymous’s picture

Status: Fixed » Closed (fixed)