Closed
Bug 1398923
Opened 8 years ago
Closed 5 years ago
Migrate static sample code in /samples/domref/dispatch.html to be "live"
Categories
(Developer Documentation Graveyard :: JavaScript, enhancement, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: chancesmithb, Unassigned)
References
()
Details
:: Developer Documentation Request
Request Type: Correction
Gecko Version: Trunk
Technical Contact:
:: Details
Link to event.preventDefault (https://developer.mozilla.org/en/docs/DOM:event.preventDefault) goes to 404
Comment 1•8 years ago
|
||
Hi @Reporter,
Can you please add more details like on which page did you find this broken link?
Flags: needinfo?(chancesmithb)
Comment 2•7 years ago
|
||
The page containing the broken link is listed in the URL field. It's a page of sample code using these methods, which in turn is linked from https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events
The problem is that the sample code page uses very old paths in its links, from back when MDN had a different URL scheme. Some of these links are resolved, and some are not. The link in question should be: https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault
Similarly, https://developer.mozilla.org/en/docs/MDC:Copyrights should be https://developer.mozilla.org/en-US/docs/MDN/About#Using_MDN_Web_Docs_content
and https://developer.mozilla.org/en/docs/MDC:About should be https://developer.mozilla.org/en-US/docs/MDN/About with link text "About MDN web docs"
Flags: needinfo?(chancesmithb)
Summary: Bad link → Bad links in sample code page
Comment 3•7 years ago
|
||
This sample code needs to be migrated to be one of the types of example code that we currently support and can maintain: https://developer.mozilla.org/en-US/docs/MDN/Contribute/Structures/Code_examples
Blocks: 1076893
Summary: Bad links in sample code page → Migrate static sample code in /samples/domref/dispatch.html to be "live"
Comment 4•5 years ago
|
||
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•