[Mediawiki-l] Forcing an image to link to a page?

Sullivan, James (NIH/CIT) [C] sullivan at mail.nih.gov
Wed May 9 12:30:15 UTC 2007


 

I'm also interested in being able to do this.  I'm running 1.6.10 due to
my old MySQL version and the only way I found to accomplish something
similar is to add a caption to the image and make the caption a link.
Example:

[[Image:picture.jpg|300px|Caption with [[a_page_link]]]]

-Jim

-----Original Message-----
From: Ken McDonald [mailto:ken at pixologic.com] 
Sent: Wednesday, May 09, 2007 8:23 AM
To: MediaWiki announcements and site admin list
Subject: [Mediawiki-l] Forcing an image to link to a page?

I'd like to be able to do something like:

    [[Image:a_picture.png|300px|a_page_link]]

so that clicking on the image will take the user to the specified page,
rather than to the image info page. However, I've found no instructions
on how to do this, nor has experimentation yielded any results. Should I
just do a template by hand, or is there a simpler way?

Thanks,
Ken

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list