12 Oct
2018
12 Oct
'18
9:17 a.m.
Sure. Also XWikiDocument#getName() is deprecated since quite a while now. On Fri, Oct 12, 2018 at 11:11 AM Vincent Massol <[email protected]> wrote:
Hi devs,
I’d like to propose deprecating Document#getName() in favor of Document#getDocumentReference().
The main reason is that it’s misleading since users will use nested pages by default and this method returns “WebHome” all the time in this case.
In addition, it doesn’t make sense anymore with nested pages to have access only to the last part of the reference.
WDYT?
Thanks -Vincent
-- Thomas Mortagne