I use MediaWiki-1.10.1 and SMW-.0.7
I'm using relations with namespaces and I find the following problems:
1-If I define two relations Rel1 and A:Rel1 then, in the factbox of a =
page containing both relations, the relations are collapsed in only one =
2-Furthermore, if I click on Rel1, in the factBox, then I see the page =
of Rel1 that has no references to the related terms, so it seems not =
complete and correct.
From: S Page <skierpage@ea...> - 2007-08-25 02:44:31
Francesco Verdino wrote:
> I use MediaWiki-1.10.1 and SMW-.0.7
> I'm using relations with namespaces and I find the following problems:
> 1-If I define two relations Rel1 and A:Rel1 then, in the factbox of a
> page containing both relations, the relations are collapsed in only one
> relation, Rel1.
> 2-Furthermore, if I click on Rel1, in the factBox, then I see the page
> of Rel1 that has no references to the related terms, so it seems not
> complete and correct.
If your relation named "A:Rel1" simply contains a colon and the "A" is
NOT one of the predefined namespaces in your wiki or an interwiki link,
then it should work fine. See below for those other cases.
I tried this on a local clean SMW 0.7 on MediaWiki 1.9.2 and on
ontoworld.org, and it works fine. I get two separate relations in the
factbox, which link to the two different relation pages, which show the
associated pages. Here are the same tests on ontoworld.org
(note well that ontoworld.org is running newer version of SMW!).
All this colon parsing is very sensitive, so if you're running other
extensions it could break.
"Namespace" refers to one of the predefined MediaWiki names like Help or
Talk and any you've added (SMW adds Type, Attribute, etc.)
If you are really trying to create a relation whose name starts with a
namespace, it's like trying to have a page named
Relation:Category:Help:Talk:MyRelation , the behavior is going to be
undefined and buggy! Namespaces don't nest. Why do you want to do it?
I tried it anyway with Relation:Help:Name and the "Help:" in the
relation name does vanish in the factbox. So this sounds like what
Similarly, your wiki may be using prefixes for interwiki linking (see
http://meta.wikimedia.org/wiki/Help:Interwiki_linking ) such as meta:
for meta.wikipedia.org. Using one of those in a relation name is very
confusing, I recommend against it. In my tests, the interwiki link is
ignored, so Relation:meta:Rel1 is treated as a local relation named