Feature request: display link that redirects back to corresponding doc link at PR review's 404 page
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 233
- Forks
- 61
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 82
Description
When proposing PR on content/translated-content repo, only the content that proposed changes are served(and they are at prxxxx.content.dev.mdn.mozit.cloud). Therefore, it may be useful for some links in documents jump to original web docs' page, in that case I wouldn't copy and change the URL manually when reaching 404 errors:(
Can we display notices like "You are now at developement website of developer.mozilla.org, redirect you back
to correspoding document?(or better messages possible)" at 404 pages on developement site(which created by PRs)and show links to original version of document if possible?
Edit: I do a little mocking to clarify what I said:

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the 404 page used by PR review sites in the translated-content workflow and trace how its requested document URL relates to developer.mozilla.org. Done means the 404 page clearly identifies the development site and provides a working link to the corresponding original document when one can be determined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100