WIKI-661 remove method call: attachment.size() in PageImpl.getAttachmentsExcludeContent()