A small image and a text .... HOW-TO link both to the text page and not to the small image page ?
I want to write in wikisyntax something equivalent to * <a href=wiki/foo1><img src=foo2.png border=0>foo1text</a> so that a small image and a text are both linked to the text page and not to the small image page.
When I write
* [[Image:foo2.png]] [[foo1|foo1text]] it does not work, because I got two different links, one to the image wiki page, one to foo1.
More logical would be
* [[ foo1 | [[Image:foo2.png]] foo1text ]]
the image link seen as part of the alternate text for the page foo1, which is the target, but this doesn't work either.
Please can anyone assist ? Tom
On Saturday 12 February 2005 11:42, Thomas Gries wrote:
A small image and a text .... HOW-TO link both to the text page and not to the small image page ?
I would use this syntax:
[http://nerdypc.wikinerds.org/index.php/AMD_Opteron http://www.wikinerds.org/img/amd/amd.jpg]<br />[http://nerdypc.wikinerds.org/index.php/AMD_Opteron Click here to learn about the greatest CPU ever created]
If you encounter any problems please let us know.
On Sat, 12 Feb 2005 12:22:49 +0200, NSK nsk2@wikinerds.org wrote:
On Saturday 12 February 2005 11:42, Thomas Gries wrote:
A small image and a text .... HOW-TO link both to the text page and not to the small image page ?
I would use this syntax:
[http://nerdypc.wikinerds.org/index.php/AMD_Opteron http://www.wikinerds.org/img/amd/amd.jpg]<br />[http://nerdypc.wikinerds.org/index.php/AMD_Opteron Click here to learn about the greatest CPU ever created]
Note that this only works with the option to display image URLs as inline images switched on ($wgAllowExternalImages=true, I think). This is a common way of using images in small wikis, but was superceded by the upload-and-use-internally system on Wikipedia because there are obviously increased risks of vandalism and copyright issues if images from any source can be used.
Linking the image to somewhere other than the description page is bug 539 [http://bugzilla.wikimedia.org/show_bug.cgi?id=539], for which I made a rough patch ages ago, but was then stalled by the complication that some link to the description page was [arguably] still needed.
Rowan Collins schrieb:
[...] Linking the image to somewhere other than the description page is bug 539 [http://bugzilla.wikimedia.org/show_bug.cgi?id=539], for which I made a rough patch ages ago, but was then stalled by the complication that some link to the description page was [arguably] still needed.
Rowan and NSK: thanks for your useful answers. The http://bugzilla.wikipedia.org/show_bug.cgi?id=539 is exactly what I want (to read, to have, to know) Tom (Wikinaut)
On Saturday 12 February 2005 15:41, Rowan Collins wrote:
Note that this only works with the option to display image URLs as inline images switched on ($wgAllowExternalImages=true, I think). This is a common way of using images in small wikis, but was superceded by the upload-and-use-internally system on Wikipedia because there are obviously increased risks of vandalism and copyright issues if images from any source can be used.
I recently had this problem on http://jnana.wikinerds.org and I was trying to figure out what to do. I want to be able to show inline images stored on my site, but not from external sites. Is it possible? Could it be implemented on the Apache level somehow?
Linking the image to somewhere other than the description page is bug 539 [http://bugzilla.wikimedia.org/show_bug.cgi?id=539], for which I made a rough patch ages ago, but was then stalled by the complication that some link to the description page was [arguably] still needed.
Is it possible to implement this patch as a module/extension, or as a preference in LocalSettings.php ?
wikitech-l@lists.wikimedia.org