Follow up for #1912946: Clean up comments in comment.views.inc node.views.inc user.views.inc and comment #9
Problem/Motivation
Comments are not meeting the standards: http://drupal.org/node/1354
Proposed resolution
Clean up the comments, removing the un-needed ones, making others complete sentences, and moving inline comments to their own lines, etc.
The following files need to be reviewed:
- core/modules/action/action.views.inc
- core/modules/contextual/contextual.views.inc
- core/modules/field/field.views.inc
- core/modules/file/file.views.inc
- core/modules/history/history.views.inc
- core/modules/image/image.views.inc
- core/modules/language/language.views.inc
- core/modules/statistics/statistics.views.inc
- core/modules/system/tests/modules/entity_test/entity_test.views.inc
- core/modules/taxonomy/taxonomy.views.inc
- core/modules/views/tests/views_test_data/views_test_data.views.inc
- core/modules/views/views.views.inc
Remaining tasks
Cleanup comments in the above files.
User interface changes
No UI changes.
API changes
No API changes.
Comments
Comment #1
damiankloip commentedI would like comments to wait until nearer code freeze. As we will still be changing/refactoring/moving/removing things.
Comment #2
mitron commentedComment #3
mitron commentedThis is a work in progress patch in case it might be useful if/when this issue is again made active.
Comment #4
dawehnerWell, it's just the .views.inc files, are we sure there is something changed in there?
Comment #5
benelori commentedMinor corrections to comments in views.view.inc file.
Comment #6
benelori commentedCleaned up comments in files.views.inc file.
Comment #7
dawehnerLets ensure that it is also tested/reviewed.
Comment #8
Anonymous (not verified) commentedI just reviewed the patch and it looks OK. Only comments are modified and they conform to API doc standards.
Comment #9
rootworkAgreed -- only comments updated, and they now conform to the standards.
I'm not sure about the non-word (as far as I'm concerned) "ourself" but looking through D8 core, it's used elsewhere (/core/includes/authorize.inc, /core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, /core/modules/views/views.theme.inc) so I guess it's consistent. Setting to RTBC.
Comment #10
alexpottclean_up_file_views_comments-1921970-6.patch no longer applies.
Comment #11
ishadakota commentedrerolled.
Comment #12
longwaveComment #13
ishadakota commentedWhile we were at it, fixed a typo and grammatical issue in views.views.inc.
Comment #15
ishadakota commented13: clean_up_file_views_comments-1921970-13.patch queued for re-testing.
Comment #17
longwave13: clean_up_file_views_comments-1921970-13.patch queued for re-testing.
Comment #18
ishadakota commentedComment #19
rbomhof commented13: clean_up_file_views_comments-1921970-13.patch queued for re-testing.
Comment #20
biggm commentedReviewing.
Comment #21
biggm commentedComment #22
alexpottCommitted 7a291c9 and pushed to 8.x. Thanks!