Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
node.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2007 at 16:08 UTC
Updated:
12 Feb 2008 at 11:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
pasqualleComment #2
panchoSee my comment on the other issue
Should be categorized as code style bug - these days tasks are not looked at enough...
Comment #3
pasqualleComment #4
webernet commentedComments should always be full sentences and end with a period.
Comment #5
pasquallefixed
please give me a phpdoc for function node_admin_nodes, because it is missing
Comment #6
panchoThis looks good except for one thing:
I wouldn't remove linefeeds in lines that are already very long, as you did in node_configure_rebuild_confirm(). Rather would I add some more linefeeds here.
I'm also not sure about the changed doxygen comment:
Looks like node_view() can indeed take a node array as argument.
Otherwise this looks good!
Comment #7
pasquallethe changes were in patch #164946 written by dmitrig01, I just tried to roll everything in it
I don't know if node_view() accept array or not. should the comment remain as it is originally?
Comment #8
panchonode_view() converts $node to an object, if it is an array, so it obviously does take a node array. I'd just keep that.
The missing phpdoc for node_admin_nodes() is not nice but not the only one missing.
But I would say, we don't have to make everything perfect at once - correcting some 50% of the code style issues is good to begin with. Next time we improve the next bit, it's a neverending story anyway. :)
Thanks for working on this!
Comment #9
panchoComment #10
pasqualleso than, this is also wrong in the patch:
it would qualify as an api change, so yes.
patch fixed
also removed the linefeed problems mentioned in #6
Comment #11
panchoThree more minor issues in node.module:
The rest looked good, don't want to rtbc this myself, cause I added some more changes, but I guess the next one reviewing this could move forward.
Comment #12
webernet commentedNo longer applies.
Comment #13
panchoRerolled.
Comment #14
panchoComment #15
moshe weitzman commentedtested and code reviewed.
Comment #16
gábor hojtsyI am not committing a patch with the following in it:
Comment #17
pasqualleComment #18
panchoI added the missing PHPdoc for node_admin_nodes(). Also I improved PHPdocs for node_admin_nodes_validate() and node_admin_nodes_submit() and moved both right after node_admin_nodes(), the form they belong to. Is it rtbc now?
Comment #19
pasquallethere are 2 empty lines before
but it does not stop me to mark it rtbc
Comment #20
gábor hojtsyCommitted. Now may I ask you to move your efforts to help fixing critical bugs?
http://drupal.org/project/issues?projects=3060&categories=bug,task&prior...
Thanks!
Comment #21
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.