Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/profiles/TR/Note/DNOTE.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const name = 'DNOTE';
export const config = {
...baseConfig,
status: 'DNOTE',
longStatus: 'Group Draft Note',
longStatus: 'Group Note Draft',
styleSheet: 'W3C-DNOTE',
};

Expand Down
2 changes: 1 addition & 1 deletion lib/profiles/TR/Registry/DRY.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const name = 'DRY';
export const config = {
...baseConfig,
status: 'DRY',
longStatus: 'Draft Registry',
longStatus: 'Registry Draft',
styleSheet: 'W3C-DRY',
};

Expand Down
18 changes: 9 additions & 9 deletions lib/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"profiles": {
"DRY": {
"order": 1,
"name": "Draft Registry",
"name": "Registry Draft",
"sections": {
"format": {
"name": "1. Normative Document Representation",
Expand All @@ -118,7 +118,7 @@
"logo": true,
"title": true,
"versionNumber": [""],
"dateState": ["Draft Registry", ""],
"dateState": ["Registry Draft", ""],
"docIDFormat": true,
"docIDOrder": true,
"docIDThisVersion": ["DRY"],
Expand All @@ -145,12 +145,12 @@
"boilerplateTRDoc": true,
"datesFormat": true,
"publish": [
"Draft Registry",
"Registry Draft",
"<a href=\"https://www.w3.org/policies/process/20250818/#recs-and-notes\">Registry track</a>",
"&lt;a href=\"https://www.w3.org/policies/process/20250818/#recs-and-notes\"&gt;Registry track&lt;/a&gt;"
],
"customParagraph": true,
"stability": "It <span class=\"rfc2119\">must</span> set expectations about the (in)stability of the document. The <span class=\"rfc2119\">recommended</span> text is: <blockquote class=\"boilerplate\"><p>Publication as a Draft Registry does not imply endorsement by W3C and its Members</p></blockquote>",
"stability": "It <span class=\"rfc2119\">must</span> set expectations about the (in)stability of the document. The <span class=\"rfc2119\">recommended</span> text is: <blockquote class=\"boilerplate\"><p>Publication as a Registry Draft does not imply endorsement by W3C and its Members</p></blockquote>",
"draftStability": true,
"patPolReq": true,
"knownDisclosureNumber": true,
Expand Down Expand Up @@ -239,7 +239,7 @@
"&lt;a href=\"https://www.w3.org/policies/process/20250818/#recs-and-notes\"&gt;Registry track&lt;/a&gt;"
],
"customParagraph": true,
"stability": "It <span class=\"rfc2119\">must</span> set expectations about the (in)stability of the document. The <span class=\"rfc2119\">recommended</span> text is: <blockquote class=\"boilerplate\"><p>Publication as a Draft Registry does not imply endorsement by W3C and its Members. A Candidate Registry Snapshot has received <a href=\"https://www.w3.org/policies/process/20250818/#dfn-wide-review\">wide review</a>.</p></blockquote><div class=\"source\"> <span style=\"font-style: italic\">Include this source code</span>:<br><code>&lt;p&gt;Publication as a Draft Registry does not imply endorsement by W3C and its Members. A Candidate Registry Snapshot has received &lt;a href=\"https://www.w3.org/policies/process/20250818/#dfn-wide-review\"&gt;wide review&lt;/a&gt;.&lt;/p&gt;</code></div>",
"stability": "It <span class=\"rfc2119\">must</span> set expectations about the (in)stability of the document. The <span class=\"rfc2119\">recommended</span> text is: <blockquote class=\"boilerplate\"><p>Publication as a Registry Draft does not imply endorsement by W3C and its Members. A Candidate Registry Snapshot has received <a href=\"https://www.w3.org/policies/process/20250818/#dfn-wide-review\">wide review</a>.</p></blockquote><div class=\"source\"> <span style=\"font-style: italic\">Include this source code</span>:<br><code>&lt;p&gt;Publication as a Registry Draft does not imply endorsement by W3C and its Members. A Candidate Registry Snapshot has received &lt;a href=\"https://www.w3.org/policies/process/20250818/#dfn-wide-review\"&gt;wide review&lt;/a&gt;.&lt;/p&gt;</code></div>",
"reviewEndDate": "It <span class=\"rfc2119\">must</span> include a minimal duration (before which the group will not request the next transition). The duration <span class=\"rfc2119\">must</span> be expressed as an estimated date.",
"knownDisclosureNumber": true,
"patPolReq": true,
Expand Down Expand Up @@ -453,7 +453,7 @@
"profiles": {
"DNOTE": {
"order": 1,
"name": "Group Draft Note",
"name": "Group Note Draft",
"sections": {
"format": {
"name": "1. Normative Document Representation",
Expand All @@ -480,7 +480,7 @@
"logo": true,
"title": true,
"versionNumber": [""],
"dateState": ["Group Draft Note", ""],
"dateState": ["Group Note Draft", ""],
"docIDFormat": true,
"docIDOrder": true,
"docIDThisVersion": ["DNOTE"],
Expand All @@ -506,12 +506,12 @@
"sotd": true,
"boilerplateTRDoc": true,
"publish": [
"Group Draft Note",
"Group Note Draft",
"<a href=\"https://www.w3.org/policies/process/20250818/#recs-and-notes\">Note track</a>",
"&lt;a href=\"https://www.w3.org/policies/process/20250818/#recs-and-notes\"&gt;Note track&lt;/a&gt;"
],
"customParagraph": true,
"stability": "It <span class=\"rfc2119\">must</span> set expectations about the (in)stability of the document. The <span class=\"rfc2119\">recommended</span> text is: <blockquote class=\"boilerplate\"> <p>Group Draft Notes are not endorsed by W3C nor its Members.</p> </blockquote> or <blockquote class=\"boilerplate\"> <p>This Group Draft Note is endorsed by the @@@ Working/Interest Group (and the @@@ Working/Interest Group), but is not endorsed by W3C itself nor its Members.</p> </blockquote>",
"stability": "It <span class=\"rfc2119\">must</span> set expectations about the (in)stability of the document. The <span class=\"rfc2119\">recommended</span> text is: <blockquote class=\"boilerplate\"> <p>Group Note Drafts are not endorsed by W3C nor its Members.</p> </blockquote> or <blockquote class=\"boilerplate\"> <p>This Group Note Draft is endorsed by the @@@ Working/Interest Group (and the @@@ Working/Interest Group), but is not endorsed by W3C itself nor its Members.</p> </blockquote>",
"draftStability": true,
"knownDisclosureNumber": true,
"patPolReq": true,
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/sotd/stability.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function findSW(candidates, sr) {
let sw = '';
if (
sr.config.longStatus === 'Group Note' ||
sr.config.longStatus === 'Group Draft Note'
sr.config.longStatus === 'Group Note Draft'
) {
// Find the sentence of 'Group Notes are not endorsed by W3C nor its Members.' or 'This Group Note is endorsed by the @@ Group, but is not endorsed by W3C itself nor its Members.'
const groups = sr.getDelivererNames().join(' and the ');
Expand Down
4 changes: 2 additions & 2 deletions test/doc-views/partials/stability.handlebars
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{! Note Track:}}
{{#config.isNoteTrack}}
{{#config.isDNOTE}}
Group Draft Notes are not endorsed by <abbr title="World Wide Web Consortium">W3C</abbr> nor its Members. <span class="handlebars-data">{{sotd.draftText}}{{! This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.}}</span>
Group Note Drafts are not endorsed by <abbr title="World Wide Web Consortium">W3C</abbr> nor its Members. <span class="handlebars-data">{{sotd.draftText}}{{! This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.}}</span>
{{/config.isDNOTE}}
{{#config.isNOTE}}
{{sotd.noteNotEndorsedText}}{{! are not endorsed by W3C nor its Members}}.
Expand Down Expand Up @@ -70,7 +70,7 @@

{{! Registry Track correct rendered html:

DRY: Publication as a Draft Registry does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.
DRY: Publication as a Registry Draft does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.

CRY: Publication as a Candidate Registry Snapshot does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. A Candidate Registry Snapshot has received <a href="https://www.w3.org/policies/process/20250818/#dfn-wide-review">wide review</a>.

Expand Down
6 changes: 3 additions & 3 deletions test/docs/2021-dnote.html
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@
<h1 id="title" class="title">Ready-made Counter Styles</h1>

<p id='w3c-state'>
<a href='https://www.w3.org/standards/types/#DNOTE'>W3C Group Draft Note</a>
<a href='https://www.w3.org/standards/types/#DNOTE'>W3C Group Note Draft</a>
<time class="dt-published" datetime="2021-11-04">04 November 2021</time>
</p>
<details open>
Expand Down Expand Up @@ -700,11 +700,11 @@ <h2>Status of This Document</h2>
</p>

<p>
This document was published by the <a href="https://www.w3.org/groups/wg/i18n-core">Internationalization Working Group</a> as a Group Draft Note using the <a href='https://www.w3.org/policies/process/20250818/#recs-and-notes'>Note track</a>.
This document was published by the <a href="https://www.w3.org/groups/wg/i18n-core">Internationalization Working Group</a> as a Group Note Draft using the <a href='https://www.w3.org/policies/process/20250818/#recs-and-notes'>Note track</a>.
</p>

<p>
Group Draft Notes are not endorsed by <abbr title="World Wide Web Consortium">W3C</abbr> nor its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.
Group Note Drafts are not endorsed by <abbr title="World Wide Web Consortium">W3C</abbr> nor its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.
</p>

<p data-deliverer="32113">
Expand Down
6 changes: 3 additions & 3 deletions test/docs/2021-dry.html
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@
<h1 id="title" class="title">Ready-made Counter Styles</h1>

<p id='w3c-state'>
<a href='https://www.w3.org/standards/types/#DRY'>W3C Draft Registry</a>
<a href='https://www.w3.org/standards/types/#DRY'>W3C Registry Draft</a>
<time class="dt-published" datetime="2021-11-04">04 November 2021</time>
</p>
<details open>
Expand Down Expand Up @@ -701,11 +701,11 @@ <h2>Status of This Document</h2>
</p>

<p>
This document was published by the <a href="https://www.w3.org/groups/wg/i18n-core">Internationalization Working Group</a> as a Draft Registry using the <a href='https://www.w3.org/policies/process/20250818/#recs-and-notes'>Registry track</a>.
This document was published by the <a href="https://www.w3.org/groups/wg/i18n-core">Internationalization Working Group</a> as a Registry Draft using the <a href='https://www.w3.org/policies/process/20250818/#recs-and-notes'>Registry track</a>.
</p>

<p>
Publication as a Draft Registry does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.
Publication as a Registry Draft does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.
</p>

<p data-deliverer="32113">
Expand Down
2 changes: 1 addition & 1 deletion test/samples.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const samples = [
docDate: '2021-11-4',
editorIDs: [3439],
editorNames: ['Richard Ishida'],
informative: false,
informative: true,
process: 'https://www.w3.org/policies/process/20250818/',
delivererIDs: [32113],
patentPolicy: 'https://www.w3.org/Consortium/Patent-Policy-20170801/',
Expand Down