Problem/Motivation
Our coding standards are out of sync with the standard way technical docs are written, which is to conform to RFC 2119: http://www.ietf.org/rfc/rfc2119.txt
We SHOULD revise our language to conform to that terminology, for consistency and clarity.
Split off from: #1791872-49: [Policy, no patch] Add special tag to identify issues ready for a high level only review
Benefits
If we adopted this change, the Drupal Project would benefit by ...
Three supporters required
- https://www.drupal.org/u/{userid} (date that user added support)
- https://www.drupal.org/u/{userid} (date that user added support)
- https://www.drupal.org/u/{userid} (date that user added support)
Proposed changes
Provide all proposed changes to the Drupal Coding standards. Give a link to each section that will be changed, and show the current text and proposed text as in the following layout:
1. {link to the documentation heading that is to change}
Current text
Add current text in blockquotes
Proposed text
Add proposed text in blockquotes
2. Repeat the above for each page or sub-page that needs to be changed.
Remaining tasks
Create this issue in the Coding Standards queue, using the defined template- Add supporters
- Create a Change Record
- Review by the Coding Standards Committee
- Coding Standards Committee takes action as required
- Tagged with 'Needs documentation edits' if Core is not affected
- Discussed by the Core Committer Committee, if it impacts Drupal Core
- Documentation updates
- Edit all pages
- Publish change record
- Remove 'Needs documentation edits' tag
- If applicable, create follow-up issues for PHPCS rules/sniffs changes
For a full explanation of these steps see the Coding Standards project page
Comments
Comment #1
jhodgdontagging
Comment #2
Crell commentedUpdating title, will update the summary momentarily.
http://www.ietf.org/rfc/rfc2119.txt
Comment #3
Crell commentedFor the record, I am +1.
Comment #4
jhodgdonFor the record, I am +1.
Comment #5
cweagansFor the record, I am +1.
Comment #6
tim.plunkettI MUST state that, for the record, I am +1
Comment #7
jhodgdonI'm watching for the wave of people volunteering to take on the task of making the coding standards pages revisions to comply with this... still watching... or at least volunteering to edit one coding standards page?
Comment #8
sunFor the disco, I am +1.
I am volunteering to edit the master page about documentation and commenting standards (1354), since I wanted to heavily shorten the text on it anyway (retaining the information, of course), so that's a good opportunity.
Comment #9
jhodgdonI am very scared about node/1354 editing... especially when you say you want to "heavily shorten" the text on it (which seems out of scope for this issue). The documentation on node/1354 is currently working very well for pointing new contributors to finding the complete information, and having it be a bit verbose is useful to me in my efforts to point people to the standards who are not familiar with them. I'd really hate to lose any of the information that is there.
It would be much preferable to limit the scope of edits to what is mentioned in this issue: namely, using should/may/etc. as specific words in standards rather than the sloppy/conversational way we've been writing our standards.
I don't want to start a "revert the revision because it was too drastic" war... please?
Comment #9.0
jhodgdonUpdate summary to reference RFC directly.
Comment #10
alexborsody commented+1 I think this is important. Willing to edit a few pages to use should/may according to these standards. My question is where is the best place to start? Suggestions?
Comment #11
jhodgdonCoding standards changes are now part of the TWG
Comment #12
tizzo commentedMoving this issue to the Coding Standards queue per the new workflow defined in #2428153: Create and document a process for updating coding standards.
Any update on this issue?
Comment #13
quietone commentedThis comment from @pfrenssen, provides background that the Drupal standards are deliberately written in a friendly style and avoids using the all caps.
Since I was here I converted to the new project issue template.
Comment #14
quietone commentedI have been thinking more about this and based on #13 I think this is a won't fix.
Comment #15
quietone commentedThis was discussed at a coding standards meeting, discussion '%'. #3414201: Coding Standards Meeting Tuesday 30 January 2024 21:00 UTC. Three committee members replied that they support won't fix.
Comment #16
dwwYeah, 3 core committers all opposed this (@quietone, @catch, @larowlan). I'm also now on the CS committee and do NOT think we SHOULD change our standards to begin SHOUTING, even though EVERYONE else does it. 😅
The CS process has changed a lot over the years since this issue was opened. If anyone strongly wants to revisit this, please open a new issue about it and try to get new supporters, but given how many of the current committers and committee members oppose it, I doubt it's going to happen.
Thanks,
-Derek