Forum:Gallery Link Problem

Hi - My name is NFSKutski and I am the founder at the NFS World Wiki. Just recently I added a disambiguation page but I noticed that when you click on a Gallery image it will take you as an example to File:Ford Escort RS Cosworth instead of the page Ford Escort RS Cosworth. How can I fix this becuase I see this gallery bug everywhere on my Wiki - Thanks

NFSKutski 19:29, November 8, 2012 (UTC)


 * It's not a problem with the site. I'm not seeing what you're seeing, clicking the images works fine for me. The problem you have is because you're using w:c:dev:NoImageLightbox in your global.js. That script rewrites all the image links to point the File page, regardless of whether they have been redirected to somewhere other than the full-size image by a gallery or . That's probably a bug, you may want to leave a message on Mathmagician's Wall since he wrote that. Lunarity 02:02, November 9, 2012 (UTC)


 * Lunarity is correct, the problem was with the script, and I didn't account for images that have link= set. I happened across this forum, so that little bug should now be fixed: clicking on the image will correctly take you to the page specified by link=