From: Jeroen De D. <jer...@gm...> - 2012-09-06 15:54:25
|
Hey, I just checked the code and discovered it was not currently possible to point to the subject property. Just implemented this https://gerrit.wikimedia.org/r/#/c/22905/ So if you can obtain the latest code, you can now do redirect=- (using a minus sign is the SMW convention to point to the subject property). This will also work for imageproperty and captionproperty. Alternatively, you could simply add another property of type page, ie [[Has image target::{{PAGENAME}}]], and use that in your query. This is a bit silly if you always want to link the link to go to the subject page, but has the flexibility to also allow for other targets. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- |