It looks like I had left out NS_IMAGE from $smwgNamespacesWithSemanticLinks
So, it's not a bug after all.

Problem solved!




badon wrote:
> 
> To see this wiki, you'll need this login info: 
> 
> user: demo 
> pass: dedauw 
> 
> I think I've triggered a bug, but I'm not sure exactly what did it, so I
> need help figuring out how to make a useful bug report. On this page, and
> also on the pages listed in the first two tables at the top, there are
> supposed to be images displayed: 
> 
> http://www.coincompendium.com/wiki/index.php/Request:RequestOverview
> 
> They're displayed several slightly different ways, for testing purposes: 
> 
> {{#ask: [[Category:Images]] | ?caption | ?Belongs to | ?Modification date
> | mainlabel=[[:Category:Images]] | limit=500}} 
> {{#ask: [[Category:Images]] | ?caption | autocaptions=off | format=gallery
> | limit=500}} 
> {{#ask: [[Category:Images]] | ?caption | ?Modification date |
> format=template | template=Images gallery | limit=500}} 
> 
> All of these worked just fine until I started playing with the image
> template, and one of the images: 
> 
> http://www.coincompendium.com/wiki/index.php/Template:Image
> http://www.coincompendium.com/wiki/index.php/File:1989GWWcto.jpg
> 
> I was trying to figure out what the pipe is for in the [{{{Caption|}}}
> parameter that Semantic Forms generated for me in the Image template. I
> guessed that a default value was supposed to go there, so I tried
> assigning a value to it in the file page: 
> 
> http://www.coincompendium.com/wiki/index.php?title=File:1989GWWcto.jpg&oldid=1719
>   
> 
> Which didn't seem to do anything, so I added a default value to the
> template itself: 
> 
> http://www.coincompendium.com/wiki/index.php?title=Template:Image&oldid=1721
> 
> Then, at some point while fiddling with this I noticed that that
> particular image had disappeared from my semantic queries that I mentioned
> at the start of this post, here: 
> 
> http://www.coincompendium.com/wiki/index.php/Request:RequestOverview
> 
> So, I went to click the repair button at the SMW admin page: 
> 
> http://www.coincompendium.com/wiki/index.php/Special:SMWAdmin
> 
> After that process was done, ALL my images disappeared from my semantic
> queries, throughout the site, everywhere. The images are still in the
> Images category: 
> 
> http://www.coincompendium.com/wiki/index.php/Category:Images
> 
> I put everything back the way it was, and when that didn't work, I
> upgraded to SMW 1.5.6. That didn't work either.
> 

-- 
View this message in context: 
http://old.nabble.com/Image-queries-stopped-working-tp32075310p32088490.html
Sent from the Semantic Mediawiki - Development mailing list archive at 
Nabble.com.


------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to