Possible resolution here either to introduce if check, that checks if document is New or not, but I quickly tested, and it returns false for newly created page
$xwiki.getDocument($docName).isNew()
. Replacing statement with
doc.contentUpdateDate
do the job partly, but further in-line modification of any page in my XWiki doesn't list that page in result, only page is listed on top if I change it in wiki editor. Final idea - to create a complex query here, that will check reversion version or revision date with creation date, and if date is different or there're more than one revision that list those XWiki pages.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.