Closed Bug 1052520 Opened 7 years ago Closed 8 months ago

The url property of the page objects returned by Kuma's $children URL handler is out of date for moved pages


( Graveyard :: Wiki pages, defect)

Not set


(Not tracked)



(Reporter: sheppy, Unassigned)


(Whiteboard: [specification][type:bug])

What did you do?
Look at /en-US/docs/MDN/Contribute/Howto. Find the entry for "Writing interface reference documentation". Note that its URL is listed as:

But that page was moved, a long time ago, to:

What happened?
If you look at the code for the "Howto" landing page, you see that it's using a macro to build the page. Digging into the macro, you find that it calls through to the SubpagesWithSummaries macro:

What should have happened?
That macro gets the URL of each page it adds to the menu using the page.url property on the page object as returned by page.subpagesExpand().

So for some reason, this method is returning the original URL of the page instead of its current URL. Which is obviously not right, and generally a Bad Thing.

Is there anything else we should know?
I presume the problem is in the URL handler for $children.
I guess these pages have been moved before mid June 2014 when this had been fixed and landed with bug 967017. So, I assume this is an older move which got not re-rendered at that time. 

You can read more here:

I had asked for a page regeneration a while back (which would solve this for older moves), but it wasn't an option due to the stability problems we had in bug 1012686.
Severity: normal → major
Component: General → Wiki pages
Summary: KumaScript's page.url property is returning the original URL of a page that's been moved → The url property of the page objects returned by Kuma's $children URL handler is out of date for moved pages
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at and platform bugs at
Closed: 8 months ago
Resolution: --- → WONTFIX
Product: → Graveyard
You need to log in before you can comment on or make changes to this bug.