Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2012 at 16:01 UTC
Updated:
24 Jan 2013 at 23:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
lars toomre commentedAttached is a small patch from starting to perform a full review of the Book module for compliance with D8 documentation standards.
If interested, please add to this patch as one does a full review of each of the files in the Book module directory.
Comment #2
jhodgdonThis patch has no problems, so I committed it to 8.x and the .js file part to 7.x (the css file does not exist there). Thanks! Leaving open for further work if necessary.
Comment #3
lars toomre commentedHere is a patch that contains changes from doing a full review of the Book module (including its Test class).
Comment #4
jhodgdonThanks, most of this looks good! A few updates needed:
a) In book.admin.inc:
Needs . at end of line.
b) in book.install:
Only capitalize Book in "the Book module". I guess here it should say "Move Book module settings...". Also check other capitalization changes, such as in the BookTest.php file.
d) book.module
By convention we do not include return value docs for hook_menu access callbacks (there are 3 in this patch).
e) book.module
- children got left out - was that intentional?
f) BookTest.php
Nodes should not be capitalized in the @param description? And the @return docs don't actually tell me what the regexp is for -- and of course it's a string (that is how regexps are in PHP), so that's not useful information.
g)_ same file
id -> ID
Comment #5
albert volkman commentedAddressed issue raised in #4 and found a few others.
Comment #6
jhodgdonThanks! This one looks good, and I committed it to 8.x. I guess we should port it to 7.x -- careful though, as there are references to the Node class etc. which don't exist in 7.x.
Comment #7
albert volkman commentedComment #8
jhodgdonLooks good to me! I'll get it committed soon. (Only one pass on this one -- great!)
Comment #9
jhodgdonIt's in -- thanks!