Skip to content

Commit

Permalink
fix(w3c): update Process and Patent Policy links (#4742)
Browse files Browse the repository at this point in the history
  • Loading branch information
deniak authored Jun 18, 2024
1 parent 662fb7d commit 4c44a85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/w3c/headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -613,11 +613,11 @@ export async function run(conf) {

if (!conf.implementationReportURI && conf.isCR) {
const msg = docLink`Missing ${"[implementationReportURI]"} configuration option in ${"[respecConfig]"}.`;
const hint = docLink`CR documents must have an ${"[implementationReportURI]"} that describes the [implementation experience](https://www.w3.org/2019/Process-20190301/#implementation-experience).`;
const hint = docLink`CR documents must have an ${"[implementationReportURI]"} that describes the [implementation experience](https://www.w3.org/policies/process/#implementation-experience).`;
showError(msg, name, { hint });
}
if (!conf.implementationReportURI && conf.isPR) {
const msg = docLink`PR documents should include an ${"[implementationReportURI]"}, which needs to link to a document that describes the [implementation experience](https://www.w3.org/2019/Process-20190301/#implementation-experience).`;
const msg = docLink`PR documents should include an ${"[implementationReportURI]"}, which needs to link to a document that describes the [implementation experience](https://www.w3.org/policies/process-20190301/#implementation-experience).`;
showWarning(msg, name);
}

Expand Down
12 changes: 6 additions & 6 deletions src/w3c/templates/sotd.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const localizationStrings = {

export const l10n = getIntlData(localizationStrings);

const processLink = "https://www.w3.org/2023/Process-20231103/";
const processLink = "https://www.w3.org/policies/process/20231103/";

function prefix(word) {
return /^[aeiou]/i.test(word) ? `an ${word}` : `a ${word}`;
Expand Down Expand Up @@ -224,7 +224,7 @@ function renderNotRec(conf) {
gather
<a href="${conf.implementationReportURI}">implementation experience</a>,
and has commitments from Working Group members to
<a href="https://www.w3.org/Consortium/Patent-Policy/#sec-Requirements"
<a href="https://www.w3.org/policies/patent-policy/#sec-Requirements"
>royalty-free licensing</a
>
for implementations.`;
Expand Down Expand Up @@ -291,7 +291,7 @@ function renderIsRec(conf) {
consensus-building, is endorsed by
<abbr title="World Wide Web Consortium">W3C</abbr> and its Members, and
has commitments from Working Group members to
<a href="https://www.w3.org/Consortium/Patent-Policy/#sec-Requirements"
<a href="https://www.w3.org/policies/patent-policy/#sec-Requirements"
>royalty-free licensing</a
>
for implementations.
Expand Down Expand Up @@ -348,7 +348,7 @@ function renderDeliverer(conf) {
const patentPolicyURL =
wgPatentPolicy === "PP2017"
? "https://www.w3.org/Consortium/Patent-Policy-20170801/"
: "https://www.w3.org/Consortium/Patent-Policy/";
: "https://www.w3.org/policies/patent-policy/";

const producers = !(isNote || isRegistry)
? html`
Expand Down Expand Up @@ -411,7 +411,7 @@ function noteForMemberSubmission(conf) {
const patentPolicyURL =
conf.wgPatentPolicy === "PP2017"
? "https://www.w3.org/Consortium/Patent-Policy-20170801/"
: "https://www.w3.org/Consortium/Patent-Policy/";
: "https://www.w3.org/policies/patent-policy/";

return html`<p>
By publishing this document, W3C acknowledges that the
Expand All @@ -421,7 +421,7 @@ function noteForMemberSubmission(conf) {
will be allocating any resources to the issues addressed by it. This
document is not the product of a chartered W3C group, but is published as
potential input to the
<a href="https://www.w3.org/Consortium/Process">W3C Process</a>. A
<a href="https://www.w3.org/policies/process/">W3C Process</a>. A
<a href="${teamComment}">W3C Team Comment</a> has been published in
conjunction with this Member Submission. Publication of acknowledged Member
Submissions at the W3C site is one of the benefits of
Expand Down

0 comments on commit 4c44a85

Please sign in to comment.