Open Bug 1398923 Opened 2 years ago Updated 2 years ago
Migrate static sample code in /samples/domref/dispatch
.html to be "live"
:: 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
Hi @Reporter, Can you please add more details like on which page did you find this broken link?
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"
Summary: Bad link → Bad links in sample code page
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
Summary: Bad links in sample code page → Migrate static sample code in /samples/domref/dispatch.html to be "live"
You need to log in before you can comment on or make changes to this bug.