$smwgQEqualitySupport = SMW_EQ_NONE; seems to work. Most other wikis will like it to be set to the default but this wiki is unique.
Thanks for your help. That is exactly what I was looking for.
From: Alex M. Hendler [mailto:amh.public@...]
Sent: Friday, August 05, 2011 6:06 PM
To: Beebe, Mary J
Subject: Re: [Semediawiki-user] Annotate to a page that redirects to another.
Unless something has recently changed in SMW, it's my understanding that
a #REDIRECT gets parsed before the semantics if you have EqualitySupport
turned on (this generally makes redirect sources resolve to their
targets in the semantic parts of the database), so unless you set
$smwgQEqualitySupport = SMW_EQ_NONE;
in LocalSettings.php (default value is SMW_EQ_SOME and it's typically
not in LocalSettings.php), I'm not aware of a way to do this without a
That said, I'm not even sure if setting it to NONE would work: I've
never tried that because I need equality for many other situations in
the same systems.
In cases where I need to keep equivalent glossary entries separate, I
use a property I call [[Soft redirect::]],
so instead of
See [[Soft redirect::Owns::Swine]]
(Assuming that "Owns" is a page-type property; otherwise, do the
It's not perfect, but if I understand the problem correctly, I think it
would accomplish most of what you are trying to do if you still need to
maintain the equality function in other parts of your system.
Hope this helps,
Alex M. Hendler
ontolawgy™ LLC - connect . . . the . . . dots™
From: Beebe, Mary J <BeebeM@...>
Subject: [Semediawiki-user] Annotate to a page that redirects to
Date: Fri, 5 Aug 2011 16:11:16 -0400
We have a glossary type page that redirects to another. Like Swine
redirecting to Pigs. We have added this in a page:
[[owns::Swine]] - Semantic wiki changes this to the Pigs in the
database. Any search returns Pigs not Swine. We would like to have the
queries return Swine which redirects to Pigs.
This article talks about this issue:
Is there a configuration variable that makes queries end at the original
page not the redirected page?
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
Semediawiki-user mailing list