Description

Sub-Pages that are listed via the Navigation(children) macro appear on the Orphaned Pages list. Where as the same pages listed via the Page List macro do not.

Steps to reproduce

  1. Create a page called Projects and then a sub-page to that, say !Projects/ItemOne
  2. On the Projects page use [ [Navigation(children)] ] which when rendered creates a link to the sub-page
  3. Go to the orphaned pages list and !Projects/ItemOne page is listed as an orphan
  4. Now add [ [PageList(regex:^Projects/.*)] ] to the Projects page, it too generates a link to the sub-page

  5. Orphaned Pages now does not list the Projects/ItemOne page.

So the orphan pages macro must somehow know to expand the links created by PageList and check them off as not orphaned; while the same is not true for Navigation.

Example

I only use the desktop edition so cannot provide useful URL

#format wiki
#language en
The Projects section hold links to active projects.  
-----
[[Navigation(children)]]
## Adding this solves it 
##[[PageList(regex:^Projects/.*)]] 
----
[[NewPage( , New Project, Projects)]]

Component selection

I am no expert, but see some similar issues in the discussion on OrphanedPagesListIncludedPages. So I think the problem lies in the navigation macro.

Details

MoinMoin Version

DeskTopEdition

OS and Version

Windows XP

Python Version

NA

Server Setup

Simple server as a localhost

Server Details

NA

Language you are using the wiki in (set in the browser/UserPreferences)

English

Workaround

At the moment I have a KnownOrphanedPage where I manually insert links to pages that I know are sub-pages to the root page like Projects. This is clearly tedious.

I prefer using Navigation to PageList as it produces a compact table and many projects then show on the same screen

Discussion

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/OrphanedPagesListsNavigationChildren (last edited 2008-03-18 18:03:33 by p5B055566)