SMW Slideshow with Image File: pages using just a Category produces SMW::on and SMW::off tags.

From semantic-mediawiki.org

I have SMW::off and SMW::off appearing in my slideshow and I am wondering if that is because I am not using slideshow correctly.

I have a bunch of File:<image name> pages and I would like the images to be in a slideshow. I've categorized each file:<image name> page with [[Category:Headers]]. With broad table and other results formats besides slideshow, I get the results I would expect. With the slideshow, I can't seem to get rid of the internal SMW::off/on tags used by SMW.

Here is my search:

{{#ask:[[Category:Headers]] 
|?#
|mainlabel=-
|limit=20
|link=none
|headers=hide
|width=720px
|height=100px
|format=slideshow
|template=SlideShow
|delay=5
|effect=slide left
}}

Here is my output/print template (SlideShow):

[[{{{1}}}|470px]]

All of the examples I have seen use a value assigned to a property as the image source, not the name of the page as the image source, i.g. a page has a property 'image' and the value of the property is set to the name of an image. With my example, I'm trying to use page names as the source to avoid setting a lot of property values and save time.

with: MediaWiki 1.25.1 Semantic MediaWiki 2.3 alpha Semantic Result Formats 2.1.2 ParserFunctions 1.6.0 ParserHooks 1.5.0 alpha

Is is possible to use SMW Result Formats Slideshow this way?

02:16, 19 June 2015

Some info about SMW::on/off can be found at [0].

I'm guessing since MW 1.25 changed the API interface (and slideshow uses the MW API) that something is missing before/after the parsing and I'm guessing further that if you would use MW 1.24 then you would not see SMW::on/off.

[0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1055#issuecomment-110536701

03:55, 19 June 2015