Closed Bug 781922 Opened 12 years ago Closed 12 years ago

Some broken links in NSPR documentation

Categories

(Developer Documentation Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcote, Unassigned)

Details

The NSPR API Reference on MDN appears to have some broken links. For instance, https://developer.mozilla.org/en-US/docs/NSPR_API_Reference/NSPR_Types links to https://developer.mozilla.org/en-US/docs/NSPR_API_Reference/en/PRUint8, which 404s. I believe there are a number of broken links through the Reference.
Component: Website → Documentation Requests
Looks like we got links like <a href="en/PR_EXTERN">PR_EXTERN</a> all over on a ton of pages in this reference. Those become https://developer.mozilla.org/en-US/docs/NSPR_API_Reference/en/PR_EXTERN instead of https://developer.mozilla.org/en-US/PR_EXTERN
Does this require development work? Copying Sheppy for more thoughts.
Yeah, the problem here is the lack of leading slashes on those links, which were optional on MindTouch but mandatory on Kuma.
I have fixed this page; fixing them as easy: grab the HTML source and replace all instances of:

"en/

with:

"en-US/docs/

I guess this should stay open for now, but I don't know who's going to go hunt down and fix them all. I'm sure there are a bunch of these all over the site. This will be easier to fix once we have global find and replace.
Sheppy: See bug 785400 and the wider bug 783535.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: Documentation Requests → Documentation
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
You need to log in before you can comment on or make changes to this bug.