Closed
Bug 775527
Opened 12 years ago
Closed 12 years ago
Kuma: KumaScript - Need a way to get a subpage list
Categories
(developer.mozilla.org Graveyard :: Editing, defect, P1)
developer.mozilla.org Graveyard
Editing
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 810019
People
(Reporter: sheppy, Unassigned)
References
Details
(Whiteboard: u=user c=Editing)
We need support for building a tree of subpages of a page. We use this to automatically build many landing pages. See http://developer.mindtouch.com/en/docs/DekiScript/Reference/Wiki_Functions_and_Variables/Wiki.Tree for the command we use on MindTouch to do this.
Comment 1•12 years ago
|
||
Off the top of my head: We need support in Kuma to assemble a list of child pages for a page.
There could be some performance concerns to keep in mind, though: Some subpage trees are HUGE - ie. 100's to 1000's of subpages on just one level, to say nothing of what recursive descent would dredge up.
Rather than simply adding subpage lists to env vars or the $json view on pages, I think we'll need a special-purpose JSON view in the wiki just for querying the tree for a given page. Support the depth parameter.
Making it a special-purpose view will help make sure a tree only gets queried and assembled when we really want it. That is, not on every page view.
Comment 2•12 years ago
|
||
(Oh yeah, and when we have this data available as a JSON resource in Kuma, we can then fetch it from KumaScript and wrap that process in a convenience method in an auto-required module.)
Comment 4•12 years ago
|
||
Moved out of this release as per our discussions in the planning meeting last week.
No longer blocks: 773295
Updated•12 years ago
|
Priority: -- → P1
Assignee | ||
Updated•12 years ago
|
Version: Kuma → unspecified
Assignee | ||
Updated•12 years ago
|
Component: Website → Landing pages
Updated•12 years ago
|
Whiteboard: s=2012-10-30
Updated•12 years ago
|
Whiteboard: s=2012-10-30 → s=2012-10-30 p=
Updated•12 years ago
|
Whiteboard: s=2012-10-30 p= → s=2012-10-30 u=user
Updated•12 years ago
|
Priority: P1 → P2
Updated•12 years ago
|
Component: Landing pages → Editing
Whiteboard: s=2012-10-30 u=user → s=2012-10-30 u=user c=Editing
Updated•12 years ago
|
Priority: P2 → P1
Updated•12 years ago
|
Whiteboard: s=2012-10-30 u=user c=Editing → u=user c=Editing
Comment 5•12 years ago
|
||
Doing a little bug reorganization here. This bug is superseded by bug 810019, which we are working on now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•