Hi there
I use a macro to retrieve the name/title of a page like this
$services.rendering.escape($xwiki.getDocument($xx).getDocumentReference().getParent().getName(), $doc.syntax)
I noticed that the name generated by the line above does not match the name in the navigation tree …
As far as I can tell, there is a difference in the page title vs the page name in xWiki. If I only change the title using the “Edit” mode of the page then there will be a difference from macro vs nav tree. If I use the “Rename” function, they will match …
This is on xWiki 12.5.1 using the traditional edit mode (not the inplace one)
Any idea? I time permits, I’ll upgrade to version 13 to validate this against the latest build, but I don’t know when this will happen …