Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Shai’s picture

Status: Needs review » Needs work

Nice additions. A couple of comments,

I think the "About" section should have your first sentence. And then the rest of that paragraph should go under the "Uses," maybe with the dt, "Create comments." It's awkward that the dts under the "Uses" section, and especially the permissions one, are not really "uses." They relate to how you use comments, but not to their purpose, which the word "Uses" connotes. So I think it is important the first item in that list really be related to what you would use the module for.

Next point:

Permissions to access, post, post without approval, and administer comments are assigned per user role. When a comment has no replies, it remains editable by its author, as long as the user is authenticated.

I think writing in the active rather than the passive would be better. And since the second sentence here pretty much has to be passive, it would be nice to make the first active. So the first sentence might come out to be:

The comment module provides four permissions: access, post, post without approval, and administer comments. These permissions are assigned per user role.

As for the second sentence, maybe "logged in" instead of "authenticated." And also, it isn't directly related to permissions. It seems like it should have its own dt. So the dt might be, "Comments editable" with the dd being, "When a comment has no replies, it remains editable by its author, as long as the user is logged in.

Finally, maybe change second to last sentence to, ".... until a user who has permission to administer comments" or "who has Administer Comments permission." "... has Administer Comments" on its own sounds funny.

Shai

arianek’s picture

Great feedback, thanks - let me know if this seems better (made some changes based on your comments, but didn't do the exact edits listed above), and make sure I didn't add any new typos if you have a chance to re-review. ;-)

Thanks!

arianek’s picture

Status: Needs work » Needs review
JuliaKM’s picture

This is already so much easier to read! Here's a few suggestions:

1. I think that "For more information, see the online handbook entry for Comment module." should go at the bottom of the page to be more consistent with the other help pages. For comparison, look at the Filter or Taxonomy help pages.

2. Looks like you left off the array with the url link to content type. Here's your code:

    $output .= '<dd>' . t("Each <a href='@content-type'>content type</a> can have its own default comment settings configured as: <em>Open</em> to allow new comments, <em>Hidden</em> to hide existing comments and prevent new comments, or <em>Closed</em> to view existing comments, but prevent new comments. These defaults will apply to all new content created (changes to the settings on existing content must be done manually). Other comment settings can also be customized for each content type when you edit the content type's settings.") . '</dd>';

It should be:

    $output .= '<dd>' . t("Each <a href='@content-type'>content type</a> can have its own default comment settings configured as: <em>Open</em> to allow new comments, <em>Hidden</em> to hide existing comments and prevent new comments, or <em>Closed</em> to view existing comments, but prevent new comments. These defaults will apply to all new content created (changes to the settings on existing content must be done manually). Other comment settings can also be customized for each content type when you edit the content type's settings.", array('@content-type' => url('admin/structure/types'))) . '</dd>';

3. I find "they" in this sentence is a bit confusing.

When a comment has no replies, it remains editable by its author, as long as they have a user account and are logged in.

Can you change "they" to "the author"?

4. I think that the Drupal standard to write t(' instead of t(". The strings that start with "Each content type can have its own" and "Comments from users who do not have the" both use double quotes.

JuliaKM’s picture

Status: Needs review » Needs work
arianek’s picture

ok, working on that - cept the moving the "for more info..." - all the ones i've done have been like that, since that's mostly how it was on the old help text - should have been put in the template/standard if that's how it's supposed to be! going to mention this on the main thread.

arianek’s picture

Status: Needs work » Needs review
FileSize
105.73 KB
4.32 KB

oh, and re: #4 the double quotes are because there's an apostrophe somewhere in that string - i know you can use a /' instead, but i was instructed on irc to use the " instead.

here's the updated patch, but will re-update if needed for the "for more info" once there's a verdict on the main thread.

thanks julia!

jhodgdon’s picture

Status: Needs review » Needs work

One small update to the patch is needed: the indentation is not consistent. It should only use spaces, not tabs.

I like the rest of the patch, though, so if the indentation is fixed up I would mark it RTBC.

arianek’s picture

Status: Needs work » Reviewed & tested by the community
FileSize
4.33 KB

fixed indents, marking RTBC

sun’s picture

Please double-check these changes in Garland.

arianek’s picture

Status: Reviewed & tested by the community » Needs work

makin a fix, from webchick, will post new patch shortly

webchick’s picture

Yeah, my comment on IRC was whether it really added anything to spell out the individual permissions here. I don't really think it does. We do that in node's help, but that's because these permissions are dynamically created whenever a new node type is added.

In other sections of the text, pointing out specific permissions where appropriate is well and good though.

arianek’s picture

removed perm sections and edited the "Default and custom settings" section quite a bit, there was a lot of redundancy.

arianek’s picture

Status: Needs work » Needs review
arianek’s picture

FileSize
3.84 KB

i am failing at indenting today - fixed version

jhodgdon’s picture

Status: Needs review » Needs work

One very minor detail: The post without approval permission is actually called "Post comments without approval".

Other than that, I like the current version.

arianek’s picture

Status: Needs work » Reviewed & tested by the community
FileSize
3.85 KB

done - new patch, i RTBC you!

jhodgdon’s picture

Status: Reviewed & tested by the community » Needs work

The standard for capitalization is not being followed. See http://drupal.org/node/632280 -- should start with "The foo module" not "The Foo module" according to standard.

sun’s picture

Status: Needs work » Reviewed & tested by the community

@jhodgdon: I don't see this being explicitly stated on the page you linked to, but the standard you want to apply here seems utterly wrong to me. "The Node module" refers to a proper name of a piece of software, and therefore, "Node" should be properly capitalized. I've seen many places in core where we use improper capitalization of module names. If necessary, we should create a separate issue to fix this bug in the documentation standards.

But no reason to hold up this patch.

jhodgdon’s picture

Status: Reviewed & tested by the community » Needs work

The UX team approved the standard with "node module" uncapitalized. I'm assuming they checked it over carefully before they approved it. See discussion on #537828: Help text for core modules - update to conform to new standard. Please discuss with them before you decide the standard is wrong.

And we do need to figure out the standard before we patch all of these modules and then have to go back and patch them all again.

arianek’s picture

Status: Needs work » Reviewed & tested by the community

caps are a go (see main background issue) - RTBC!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD! Thanks! :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.