-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update EIP-1: Add WHATWG as a permissible origin #7117
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -270,6 +270,26 @@ Permitted W3C recommendation URLs MUST anchor to a specification in the technica | |||||
^https://www\.w3\.org/TR/[0-9][0-9][0-9][0-9]/.*$ | ||||||
``` | ||||||
|
||||||
### Web Hypertext Application Technology Working Group (WHATWG) | ||||||
|
||||||
Links to WHATWG specifications may be included using normal markdown syntax, such as: | ||||||
|
||||||
```markdown | ||||||
[HTML](https://html.spec.whatwg.org/commit-snapshots/578def68a9735a1e36610a6789245ddfc13d24e0/) | ||||||
``` | ||||||
|
||||||
Which renders as: | ||||||
|
||||||
[HTML](https://html.spec.whatwg.org/commit-snapshots/578def68a9735a1e36610a6789245ddfc13d24e0/) | ||||||
|
||||||
Permitted WHATWG specification URLs must anchor to a specification defined in the `spec` subdomain (idea specifications are not allowed) and to a commit snapshot, and so must match this regular expression: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @SamWilsn this suggestion should address my last comment There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated, with different wording. What do you think of:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LGTM for that text |
||||||
|
||||||
```regex | ||||||
^https:\/\/[a-z]*\.spec\.whatwg\.org/commit-snapshots/[0-9a-f]{40}/$ | ||||||
``` | ||||||
|
||||||
Although not recommended by WHATWG, EIPs must anchor to a particular commit so that future readers can refer to the exact version of the living standard that existed at the time the EIP was finalized. This gives readers sufficient information to maintain compatibility, if they so choose, with the version referenced by the EIP and the current living standard. | ||||||
|
||||||
### Digital Object Identifier System | ||||||
|
||||||
Links qualified with a Digital Object Identifier (DOI) may be included using the following syntax: | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I weakly prefer the abbreviation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We require authors to expand abbreviations, so I figured we should probably too 🤣