Alternate Wikipedia URL? Looks like image file breaks lightboxes

Is there an alternative way to link to Wikipedia community pages with more traditional URLs?

When I set the href link to the lightbox image on the external page of the site, it pleases if the URL of this external page does not look like an image (ends with '.jpg') - in this case the lightbox tries to load the image and breaks.

Wikipedia image pages are only pages, not images. I want to link to the page, but the page URL ends with ".jpg", so the lightbox is trying to load the page as an image.

For example: http://commons.wikimedia.org/wiki/File:Giant_Haasts_eagle_attacking_New_Zealand_moa.jpg

I searched, but cannot find any help.

+5
source share
2 answers

Add # file to the end: http://en.wikipedia.org/wiki/File:Giant_Haasts_eagle_attacking_New_Zealand_moa.jpg#file

The answer from @Jesse may also be useful for some.

0
source

I fooled the links on this page a bit to see what they are related to ...

Clicking on the Discussion tab at the top, I took this URL ...

http://commons.wikimedia.org/w/index.php?title=File_talk:Giant_Haasts_eagle_attacking_New_Zealand_moa.jpg&action=edit&redlink=1

I tried playing a little with this url ...

  • I change the line "File_talk" to "File"
  • I removed the "action" and "redlink" options.

! URL-, , , ...

http://commons.wikimedia.org/w/index.php?title=File:Giant_Haasts_eagle_attacking_New_Zealand_moa.jpg

+1

All Articles