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
- Create a page called Projects and then a sub-page to that, say !Projects/ItemOne
- On the Projects page use [ [Navigation(children)] ] which when rendered creates a link to the sub-page
- Go to the orphaned pages list and !Projects/ItemOne page is listed as an orphan
Now add [ [PageList(regex:^Projects/.*)] ] to the Projects page, it too generates a link to the sub-page
- 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 |
|
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
- Priority:
- Assigned to:
Status: duplicate of MoinMoinBugs/OrphanedPagesListsIncludedPages