added resolveDocumentReference method with WikiReference