I've been thinking that when someone has created an issue with respect to a specific doc page, there should be a flag on the doc page to alert other readers to the existence of the issue (or issues) along with a link to take him or her to the issue. That way the reader will be made aware of potential problems which might influence how the page is used, and it would be an entry point for people who might want to fix the problem (if only they knew that the issue existed).

Also on doc pages, there should be a link that would allow the reader to generate an issue (with the node ID automatically added to a field). This would also ensure that when the issue appears in the queue that there's a clickable link back to the node in question.

Right now, when you read a doc page, there's no indication that someone has created an issue about that content. And when you're looking at the issue, there's no link back to the relevant page.

This might also help with the problem that there's really no workflow for dealing with comments. Sometimes people raise very serious points in the comments, but it doesn't get addressed for ages because it's only a comment and comments are not regularly reviewed. This would be a way of channeling that feedback better.

Comments

JohnFilipstad’s picture

Connecting the issue queue and the doc pages crossed my mind a few weeks ago. I was actually planning to discuss it in the planning sprint but I completely forgot about it and as you know, I didn't have the opportunity to do so. :-( This issue made me remember a suggestion I was thinking of.

IMO, commenting on handbook pages is already obsolete. I think it was necessary before because users cannot edit the page and their way of correcting it is by commenting. Now that a user can edit pages, they can make necessary changes to a page directly. If users have concerns that they cannot incorporate directly to the handbook page, then probably creating an issue instead of commenting is more ideal. What if the link at the bottom of the node isn't "Add new comment" but "Create an issue". There should also have a block (in the content region?) listing all open issues regarding the page they're viewing. If you're in the issue queue, there should also be a way to see if it is connected to a particular handbook page.

It's actually almost the same as your suggestion, the difference is that I am thinking of disabling comments in book pages all together and encourage creating issues instead.

LeeHunter’s picture

Title: Integrate doc issue queue and doc pages » Integrate issue queue and pages: disable doc comments

Yep. After I posted this issue it struck me that if we properly integrated the docs into the issue queue, then getting rid of comments would probably be a good idea because it would stream feedback into a real workflow: Either you fix the problem yourself or you create a proper issue (rated by priority etc). It doesn't make much sense to leave an important comment on a page in the hope that someday, someone will stumble upon it and do something about it.

One side effect might be that the issue queue would suddenly get bigger but that's not necessarily a bad thing. The issues are there anyway, they're just disguised as comments rather than appearing in the queue.

I'm changing the title a bit to alert people that this idea has been raised.

Shai’s picture

I think integrating a smart create issue link on doc pages would be fine. I think that link would would need to populate some field on the issue form with a reference to the document.

Until this functionality is in place, I don't believe we should turn off commenting in docs because it is a way from someone to ask for more explanation or point out something confusing. Oftentimes, someone can point out something confusing, but yet not know how to improve upon it for lack of knowledge. I do think the open editing fixes many things, but there is still a role for comments, until we can get smart links that will open new issues.

(p.s. great job on finding and removing those no longer needed comments!)

Shai

JohnFilipstad’s picture

Yeah. The suggestion is not meant to just disable the comments. The intention is that the creating of issues will replace commenting, so disabling of comments will only happen when the issue queue is integrated.

Quoting Lee from #2:

Either you fix the problem yourself or you create a proper issue (rated by priority etc). It doesn't make much sense to leave an important comment on a page in the hope that someday, someone will stumble upon it and do something about it.

add1sun’s picture

Project: Documentation » Drupal.org site moderators
Version: 6.x-1.x-dev »
Component: Placement and navigation » Other

Chatting with kkaefer at the doc sprint in Stockholm about this and it should be pretty straightforward to add a link with hook_link in drupalorg.module and use prepopulate module to send people off to create an issue with some bits prefilled for them. The main stopper on this is to get prepopulate module in shape for use on drupal.org #252053: Allow admins to hide prepopulated fields

So we need to get that knocked out, and then a pretty small patch to drupalorg.module and we should be good. Moving to webmasters queue for more eyes and eventual implementation.

kkaefer’s picture

After thinking about this issue for quite some time, I think it would be easier and faster to "hard code" that feature into drupalorg.module. Essentially, we'd have to implement a form_alter hook for the node form and overwrite three fields (title, body and tag so that we can list the issues tagged with the handbook page we're referring to later). That way, we could even "autodiscover" the information by using the referrer.

dww’s picture

I don't know what shape http://drupal.org/project/prepopulate is in, but in general, my experience maintaining project* over all these years is that if there's a viable contrib module that does what we want, we should use it, instead of rolling our own. The more "we should just hard code that into foo" decisions we make, the harder it is to port foo to the next version of core when it's time to upgrade *.d.o. That's bad enough when foo == project itself (which now has a modest and growing user-base off d.o), it's even worse when foo == drupalorg.module, which by definition is only used here.

Also, are people proposing to use issue tags to remember what node(s) a given doc issue is in reference to? That seems like a bit of a hack, and it's going to require yet more hacks to do the sorts of features people are proposing here (a block of issues for a given handbook page, and a link on issues back to the page(s) they refer to). Seems like that aspect of this proposal needs more thought.

JohnFilipstad’s picture

The one we have at api.d.o is okay, I guess. It goes: "Buggy or inaccurate documentation? Please file an issue instead of commenting here. Need support?" The link prepopulates the node title of the issue with "Documentation problem with (title of referring node)".

jhodgdon’s picture

Status: Active » Closed (duplicate)

Closing this as a duplicate of #810508: Kill handbook comments