creativecommons / creativecommons.org

Legacy legal code translations and general support issues
MIT License
156 stars 204 forks source link

Test new.creativecommons.org as a pending replacement of creativecommons.org #1092

Closed TimidRobot closed 4 years ago

TimidRobot commented 4 years ago

Short Ask

Please click around new.creativecommons.org so that we can have as many eyes as possible on it before it becomes creativecommons.org :heart:

TimidRobot commented 4 years ago

Long Ask

The first phase of the creativecommons.org infrastructure refresh is ready to test: new.creativecommons.org! This new infrastructure will allow us to effectively manage both a production and a staging environment (both running on current operating systems)!

The Creative Commons website is made up of three components: 1) WordPress, 2) ccEngine, and 3) Miscellanious. This first phase of the refresh replaces the ccEngine component, but continues to serve the legacy WordPress and legacy Miscellanious compontents.

Components

Please help us by comparing the new infrastructure to ensure it is as good or better than the legacy infrastructure:

Component Old URL New URL
WordPress / /
ccEngine /characteristic/ (see below) /characteristic/ (see below)
ccEngine /choose/ /choose/
ccEngine /licenses/ /licenses/
ccEngine /ns /ns
ccEngine /publicdomain/ /publicdomain/
ccEngine /rdf/ /rdf/
ccEngine /schema.rdf /schema.rdf
Miscellaneous /faq/ /faq/
Miscellaneous /platform/toolkit/ /platform/toolkit/

ccEngine Legal Code

Old Legal Code New Legal Code
CC BY 4.0 CC BY 4.0
CC0 1.0 CC0 1.0

ccEngine Deed

Old Legal Code New Legal Code
CC BY 4.0 CC BY 4.0
CC0 1.0 CC0 1.0

ccEngine RDF

Old Legal Code New Legal Code
CC BY 4.0 CC BY 4.0
CC0 1.0 CC0 1.0

ccEngine Characteristics

Characteristic Old URL New URL
Attribution /characteristic/by /characteristic/by
Noncommercial /characteristic/nc /characteristic/nc
No Derivative Works /characteristic/nd /characteristic/nd
Share Alike /characteristic/sa /characteristic/sa
TimidRobot commented 4 years ago

cc-link-checker Testing

I tested both creativecommons.org and new.creativecommons.org with creativecommons/cc-link-checker.

The only difference in the output was that the new infrastructure 404s instead of 521s on some links in the deprecated sampling licenses.

--- err-old-20200331.txt    2020-03-31 11:00:00.000000000 -0700
+++ err-new-20200331.txt.norm   2020-03-31 11:22:01.000000000 -0700
@@ -281,8 +281,8 @@

 devnations_2.0.html
 URL: https://creativecommons.org/licenses/devnations/2.0/legalcode
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Disclaimers</a>
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;"><img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/></a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Disclaimers</a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;"><img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/></a>

 nc-sa_2.0_jp.html
 URL: https://creativecommons.org/licenses/nc-sa/2.0/legalcode.jp
@@ -306,8 +306,8 @@

 nc-samplingplus_1.0.html
 URL: https://creativecommons.org/licenses/nc-samplingplus/1.0/legalcode
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Disclaimers</a>
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;"><img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/></a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Disclaimers</a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;"><img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/></a>
   404                     <a class="fulltext" href="./">« Back to Commons Deed</a>

 nc-samplingplus_1.0_tw.html
@@ -316,28 +316,28 @@

 sampling_1.0.html
 URL: https://creativecommons.org/licenses/sampling/1.0/legalcode
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Disclaimers</a>
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;"><img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/></a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Disclaimers</a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;"><img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/></a>

 sampling_1.0_br.html
 URL: https://creativecommons.org/licenses/sampling/1.0/legalcode.br
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Exoneração</a>
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;"><img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/></a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Exoneração</a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;"><img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/></a>

 samplingplus_1.0.html
 URL: https://creativecommons.org/licenses/sampling+/1.0/legalcode
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Disclaimers</a>
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;"><img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/></a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Disclaimers</a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;"><img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/></a>

 samplingplus_1.0_br.html
 URL: https://creativecommons.org/licenses/sampling+/1.0/br/legalcode
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Exoneração</a>
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;"><img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/></a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Exoneração</a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;"><img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/></a>

 samplingplus_1.0_de.html
 URL: https://creativecommons.org/licenses/sampling+/1.0/de/legalcode
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode',                 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Disclaimers</a>
-  521                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode',                 'characteristic_help','width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">Disclaimers</a>
+  404                     <a href="/licenses/disclaimer-legalcode" onclick="window.open('/licenses/disclaimer-legalcode', 'characteristic_help', 'width=375,height=300,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=yes,menubar=no,status=yes');return false;">
 <img alt="disclaimer" border="0" height="13" src="/images/popup.gif" width="15"/>
 </a>
TimidRobot commented 4 years ago

ccEngine - RDF Validation

https://www.w3.org/RDF/Validator/

Old/Current CC BY 4.0 check by direct input validation:

Error: {W115} Primary subtag must be between 1 and 8 alpha characters: sr@latin[Line = 18, Column = 35] Error: {W116} RFC 3066 section 2.3 mandates the use of 'oc' instead of 'oci'.[Line = 48, Column = 33] Error: {W115} Primary subtag must be between 1 and 8 alpha characters: i18n[Line = 79, Column = 31]

New/Pending CC BY 4.0 check by direct input validation:

Error: {W116} RFC 3066 section 2.3 mandates the use of 'oc' instead of 'oci'.[Line = 48, Column = 33]