Overlay images not available for displaying
Hello, thanks for the reply. My last attempt looks like this:
{{#ask: [[File:picture1.jpg]] OR [[File:picture2.jpg]]|?A_property|format=gallery|overlay=yes}}
Version details: MediaWiki 1.20.2, Semantic MW 1.8, SRF 1.8
The above cited example works on this wiki as well. See [1]
Well, we managed to solve it at last. We are not sure its the best solution, but it works for now. On the "ext.srf.gallery.overlay.js" we changed the line 64 from this:
var title = image.attr( 'href' ).replace(/.+?\File:(.*)$/, "$1" ).replace( "%27", "\'" ),
to this:
var title = image.attr( 'href' ).replace(/.+?\Archivo:(.*)$/, "$1" ).replace( "%27", "\'" ),
We are using a Wiki in Spanish, I should've mencioned it ("Archivo" is spanish for "File"). Is there a better solution?
Cheers, Benjamín.-
I tested on Opera 12.15 for Win/Linux and the images overlay option stops working on this wiki. It was fine a few days ago.
I tested on Opera 12.15 for Win/Linux and the images overlay option stops working on this wiki. It was fine a few days ago.
I just checked Overlay images with Opera 12.02 and it works.
Due to the language issue, the JS script needed a change therefore pages served by the ResourceLoader need to be purged.