creativecommons / creativecommons.org

Legacy legal code translations and general support issues
MIT License
155 stars 201 forks source link

2.x and 3.0 Taiwan ported deed: links to legalcode are wrong (result in HTTP status 404) #1103

Closed kgodey closed 4 years ago

kgodey commented 4 years ago

I received an email reporting this:

Due to the policy change from "porting" to "translation", the legal code redirecting mechanism for the old 3.0 and other former ported Taiwan version on Legal Code has been failed for quite a while.

For example, in the Common Deed for CC BY 3.0 TW: https://creativecommons.org/licenses/by/3.0/tw/ , when you click on the "Legal Code(授權條款)" button, it will lead you to a "Not Found" page (https://creativecommons.org/licenses/by/3.0/tw/legalcode.zh-Hant). That's because this kind of redirecting link is just for 4.0 based on the translation policy, adding the string ".zh-Hant" after the "legalcode", however, this shall not be performed due to in the former ported version there is actually no any ".zh-Hant" string.

Easy way to tackle this is just inserting some "mapping" mechanism, such as:

redirect https://creativecommons.org/licenses/by/3.0/tw/legalcode.zh-Hant to https://creativecommons.org/licenses/by/3.0/tw/legalcode redirect https://creativecommons.org/licenses/by-sa/3.0/tw/legalcode.zh-Hant to https://creativecommons.org/licenses/by-sa/3.0/tw/legalcode redirect https://creativecommons.org/licenses/by-nc/3.0/tw/legalcode.zh-Hant to https://creativecommons.org/licenses/by-nc/3.0/tw/legalcode redirect https://creativecommons.org/licenses/by-nd/3.0/tw/legalcode.zh-Hant to https://creativecommons.org/licenses/by-nd/3.0/tw/legalcode redirect https://creativecommons.org/licenses/by-nc-sa/3.0/tw/legalcode.zh-Hant to https://creativecommons.org/licenses/by-nc-sa/3.0/tw/legalcode redirect https://creativecommons.org/licenses/by-nc-nd/3.0/tw/legalcode.zh-Hant to https://creativecommons.org/licenses/by-nc-nd/3.0/tw/legalcode

TimidRobot commented 4 years ago

Fixed: