Repository navigation
Closed
Closed
Copy link
Labels
Milestone
Description
I think the links below are the remaining references to devhub that should go to extensionworkshop.com (though it wasn't 100% clear - sometimes we do want to link to MDN, as that's where the technical documentation on the manifest structure is, for example).
@caitmuenster can you confirm the new extensionworkshop.com link, including the UTM parm.
olympia • src\olympia\devhub\templates\devhub\includes\source_form_field.html:
7: <a href="https://developer.mozilla.org/en-US/Add-ons/AMO/Policy/Reviews#Source_Code_Submission"
olympia • src\olympia\devhub\templates\devhub\new-landing\components\navigation.html:
25: <li class="in-hamburger-menu"><a href="https://developer.mozilla.org/en-US/Add-ons#Contact_us">
olympia • src\olympia\reviewers\templates\reviewers\emails\base.ltxt:
11: You can also get in touch with us using these channels: https://developer.mozilla.org/Add-ons#Contact_us
13: For tips on how to attract more users by updating your add-on’s listing, please visit: https://developer.mozilla.org/Add-ons/Listing
15: To learn more about the review process, please visit: https://developer.mozilla.org/en-US/Add-ons/AMO/Policy/Reviews
olympia • src\olympia\templates\copyright.html:
18: | <a href="https://developer.mozilla.org/en-US/Add-ons/AMO/Policy/Contact">{{ _('Report a bug')}}</a>
olympia • src\olympia\templates\photon-footer.html:
15: <li><a href="https://developer.mozilla.org/docs/Mozilla/Add-ons/AMO/Policy">Developer Policies</a></li>
17: <li><a class="Footer-bug-report-link" href="https://developer.mozilla.org/docs/Mozilla/Add-ons/Contact_us">Report a bug</a></li>
Reacted by caitmuenster
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
None yet
Projects
- StatusShow more project fieldsDone
Activity
caitmuenster commentedon Mar 17, 2021
Here are the replacement links, in the order listed above:
olympia • src\olympia\devhub\templates\devhub\includes\source_form_field.html:
olympia • src\olympia\devhub\templates\devhub\new-landing\components\navigation.html:
olympia • src\olympia\reviewers\templates\reviewers\emails\base.ltxt:
"https://developer.mozilla.org/Add-ons/Listing" should be:
** text-only version: "https://extensionworkshop.com/documentation/develop/create-an-appealing-listing/"
** HTML version: "https://extensionworkshop.com/documentation/develop/create-an-appealing-listing/?utm_source=email&utm_medium=submission-email"
"https://developer.mozilla.org/en-US/Add-ons/AMO/Policy/Reviews" should be:
** text-only version: "https://extensionworkshop.com/documentation/publish/add-on-policies/"
** HTML version: "https://extensionworkshop.com/documentation/publish/add-on-policies/?utm_source=email&utm_medium=submission-email"
olympia • src\olympia\templates\copyright.html:
olympia • src\olympia\templates\photon-footer.html:
eviljeff commentedon Mar 17, 2021
when someone implements this, there is a setting for the extensionworkshop.com url, so the templates should be written with
settings.EXTENSION_WORKSHOP_URLrather thanhttps://extensionworkshop.comeviljeff commentedon Mar 23, 2021
(fixed/added trailing
/to extensionworkshop links above)kanish671 commentedon May 16, 2021
I still see a few lingering links which are still pointing to the old URLs. I can fix these, and also convert all instances of
https://extensionworkshop.comto{{ settings.EXTENSION_WORKSHOP_URL }}ioanarusiczki commentedon May 19, 2021
@eviljeff
for source code urls I filed Broken URLs for source code - when submitting an addon #8343 because they open a 404
I don't know where should I find the urls from (what they refer to):
`olympia • src\olympia\reviewers\templates\reviewers\emails\base.ltxt:
"https://developer.mozilla.org/Add-ons/Listing" should be:
** text-only version: "https://extensionworkshop.com/documentation/develop/create-an-appealing-listing/"
** HTML version: "https://extensionworkshop.com/documentation/develop/create-an-appealing-listing/?utm_source=email&utm_medium=submission-email"
"https://developer.mozilla.org/en-US/Add-ons/AMO/Policy/Reviews" should be:
** text-only version: "https://extensionworkshop.com/documentation/publish/add-on-policies/"
** HTML version: "https://extensionworkshop.com/documentation/publish/add-on-policies/?utm_source=email&utm_medium=submission-email"
the rest should be ok.
kanish671 commentedon May 19, 2021
I believe #8343 is caused by mozilla/addons-server#17154 .
Specifically by changes in
src/olympia/devhub/templates/devhub/addons/submit/source.html.I shall look into fixing this. I think I misplaced the double quotes around
{{ settings.EXTENSION_WORKSHOP_URL }}eviljeff commentedon May 19, 2021
I think that was just @caitmuenster being thorough with the html/text variants - we don't have html emails for reviewer mails though so it'll just be the text-only links.
eviljeff commentedon May 19, 2021
(discussion -> #8343 but) it's because the
{{ ... }}tag has been added inside another tag - the entire line is a{% trans ...tag so you can't do that.ioanarusiczki commentedon May 20, 2021
@eviljeff So checking fake e-mails on dev - for a listed addon version update I found those 2 and I filed an issue #8344.
eviljeff commentedon May 20, 2021
As the PR caused two release blocking issues we've reverted the commit entirely.
3 remaining items
eviljeff commentedon Jun 7, 2021
@kanish671 from the experience here we don't think this is a good first bug.
I'm going to deassign you from the issue as there isn't a PR open, but you're welcome to continue working on it if you want and open a new PR. You do need to setup addons-server locally and check the pages/emails are rendering correctly, really. Templates in django are quite tolerant to errors - they'll just render white space rather than loudly complain if something if wrong so checking it manually is often the only way.
eviljeff commentedon Aug 13, 2021
QA: there were only 2 links left to change in the end - the rest must have been picked up in other issues.
AlexandraMoga commentedon Aug 16, 2021
The source code submission links from
/developers/addon/{addon}/submit/sourceare now pointing to https://extensionworkshop.com/documentation/publish/source-code-submission/ - note that there are noutmparameters specified - filed #8460The Developer policies link for the DevHub landing page footer is pointing to https://extensionworkshop-dev.allizom.org/documentation/publish/add-on-policies/?utm_source=addons.mozilla.org&utm_medium=photon-footer
The remaining links seem to be fine.
This issue is verified fixed on -dev.