On 26/02/2019 14:49, Marius Dumitru Florea wrote:
+1, but since you're adding a new table maybe
it's a good idea to have a
backlink **type** column. I'm thinking that there are multiple ways in
which 2 entities can be linked: wiki syntax link, image syntax, parameter
of a macro call, etc. Notice that I mentioned entities. Maybe we shouldn't
limit this table to wiki pages. Here's an example: you put a link to an
attachment in the value of an object property. This means the object
property is linked to the attachment.
So you would have:
- sourceType
- targetType
to identify precisely what this backlink represents?
In that case shouldn't we put it in link table too?
Thanks,
Marius
--
Simon Urli
Software Engineer at XWiki SAS
simon.urli(a)xwiki.com
More about us at
http://www.xwiki.com