Asiri Rathnayake wrote:
  Hi devs,
 Currently the above method is implemented so as to set the absolute name of
 the parent document as the parent name of a page. Assuming we don't support
 inter-wiki parent-child relationships, I propose we should modify this
 method not to include the "wiki:" prefix in the parent name because it
 breaks the wysiwyg (not displaying parent-child relationships correctly).
 Now I'm not exactly sure whether it is the wysiwyg or this method that needs
 fixing, but the latter is easier to fix. 
+1
  If we do decide to modify this method, should i simply
use:
 <code>
 public void setParent(DocumentName parentName)
 {
         this.parent = parentName.getSpace() + "." + parentName.getPage();
 }
 </code>
 Or should I use a custom DocumentNameSerializer? 
I'd go for a DocumentNameSerializer.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/