Help talk:Gallery format/Archive/2012

From semantic-mediawiki.org
Jump to: navigation, search

parameter to autocaption

Attention: the parameter to hide autocaptions it's off not no as the table says. --Dvdgmz 16:17, 23 January 2012 (CET)

Both should work for all boolean parameters, which allows either using the same pair everywhere, or wherever makes most sense grammatically. If this is not the case, please poke me on my talk page. --Jeroen De Dauw 21:53, 24 February 2012 (CET)

Gallery links displayed as raw HTML

With the following code:

{{
 #ask: [[Category:Cities]] [[Has GalleryImage::]]
 | ?Has GalleryImage
 | format=gallery
 | imageproperty=Has GalleryImage
 | link=all
 }}

I am getting an image, but the source page queried in [[Category:Cities]] appears as raw HTML, as such:

<a href="/wiki/index.php?title=Vector" title="Vector">Vector</a>

Please advise. Thanks!

This result format is currently broken. A rewrite to fix issues is scheduled to happen within the first quarter of 2012. Cheers --[[kgh]] 13:09, 24 February 2012 (CET)
Oops, forget my post. I mixed it up with the exhibit result format. Hmm, I guess the best way to get an reliable answer is to post to the mailing list. Cheers --[[kgh]] 13:42, 24 February 2012 (CET)


I was experiencing the same issue as the original poster with raw html showing instead of gallery links and found this list via a search.

I looked through the SRF_Gallery.php file and on line 122 changed SMW_OUTPUT_HTML to SMW_OUTPUT_WIKI and this seems to have solved the issue for me.

I'm no expert on SMW or PHP so can't guarantee this will work for all or even if it is a sensible resolution - but am posting here should it help others searching. Thx Jamescblack 03:13, 5 June 2012 (CEST)

Potentially fixed by https://gerrit.wikimedia.org/r/#/c/10354/ --Jeroen De Dauw 23:26, 5 June 2012 (CEST)
There are no threads on this page yet.