How to fix orphaned pages?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to fix orphaned pages?

Julio
Hi,

Orphaned pages is a bad thing? Why is that? How to fix?

Thank you in advance
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: How to fix orphaned pages?

Marius Dumitru Florea
What version of XWiki are you using? Starting with XWiki 7.2 the Orphan
Pages tab in the Page Index is visible only if you enable the parent-child
hierarchy mode (which is disabled by default). See
http://jira.xwiki.org/browse/XWIKI-12520 . Also
http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/NestedPagesMigration/
.

If the version of XWiki you're using is older than 7.2 then simply edit the
orphan page and set its parent (from the breadcrumb above the title input).
Orphan pages don't do any harm. It's just that the best practice in content
organization is to have a hierarchy of pages so each page should have a
parent, unless it's the root page. This helps navigation among other things.

Hope this helps,
Marius

On Thu, Nov 3, 2016 at 10:54 PM, Julio Brum <[hidden email]> wrote:

> Hi,
>
> Orphaned pages is a bad thing? Why is that? How to fix?
>
> Thank you in advance
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: How to fix orphaned pages?

Julio
Marius, thank you.

I use the 7.4.4 version. When viewing the panel 'Orphaned Pages' I found
that there are orphaned pages. I can place directly a value on doc.parent
field in the database?

Best Regards,
Julio

2016-11-04 8:25 GMT-02:00 Marius Dumitru Florea <
[hidden email]>:

> What version of XWiki are you using? Starting with XWiki 7.2 the Orphan
> Pages tab in the Page Index is visible only if you enable the parent-child
> hierarchy mode (which is disabled by default). See
> http://jira.xwiki.org/browse/XWIKI-12520 . Also
> http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/
> NestedPagesMigration/
> .
>
> If the version of XWiki you're using is older than 7.2 then simply edit the
> orphan page and set its parent (from the breadcrumb above the title input).
> Orphan pages don't do any harm. It's just that the best practice in content
> organization is to have a hierarchy of pages so each page should have a
> parent, unless it's the root page. This helps navigation among other
> things.
>
> Hope this helps,
> Marius
>
> On Thu, Nov 3, 2016 at 10:54 PM, Julio Brum <[hidden email]> wrote:
>
> > Hi,
> >
> > Orphaned pages is a bad thing? Why is that? How to fix?
> >
> > Thank you in advance
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: How to fix orphaned pages?

Marius Dumitru Florea
On Fri, Nov 4, 2016 at 8:49 PM, Julio Brum <[hidden email]> wrote:

> Marius, thank you.
>
>

> I use the 7.4.4 version. When viewing the panel 'Orphaned Pages' I found
> that there are orphaned pages.


The Orphaned Pages panel is deprecated. With the new reference-based
hierarchy the notion of orphan page has no meaning.


> I can place directly a value on doc.parent
> field in the database?
>

I wouldn't advice this. If you want to keep using the old parent-child
hierarchy then you should read the documentation I linked
http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/NestedPagesMigration/#HExecutiveSummary
. There is an info box about setting core.hierarchyMode . If you set it to
"parentchild" you will get back the UI to set the parent from the
Wiki/WYSIWYG edit mode, which is safer than modifying the database directly.

Hope this helps,
Marius


>
> Best Regards,
> Julio
>
> 2016-11-04 8:25 GMT-02:00 Marius Dumitru Florea <
> [hidden email]>:
>
> > What version of XWiki are you using? Starting with XWiki 7.2 the Orphan
> > Pages tab in the Page Index is visible only if you enable the
> parent-child
> > hierarchy mode (which is disabled by default). See
> > http://jira.xwiki.org/browse/XWIKI-12520 . Also
> > http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/
> > NestedPagesMigration/
> > .
> >
> > If the version of XWiki you're using is older than 7.2 then simply edit
> the
> > orphan page and set its parent (from the breadcrumb above the title
> input).
> > Orphan pages don't do any harm. It's just that the best practice in
> content
> > organization is to have a hierarchy of pages so each page should have a
> > parent, unless it's the root page. This helps navigation among other
> > things.
> >
> > Hope this helps,
> > Marius
> >
> > On Thu, Nov 3, 2016 at 10:54 PM, Julio Brum <[hidden email]> wrote:
> >
> > > Hi,
> > >
> > > Orphaned pages is a bad thing? Why is that? How to fix?
> > >
> > > Thank you in advance
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users