On Apr 21, 2008, at 11:11 AM, Brion Vibber wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tim Ware wrote:
I'm using:
[[Image:image.jpg|thumb|200px|right]]
but it keeps throwing one of the values out of the resulting
hyperlink.
None of these values would be on the hyperlink, so it's normal for
them
not to be in the hyperlink.
What you should see is:
* a 200px-wide thumbnail image
* in a box
* with no caption text
* floating to the right
* which links to the page Image:Image.jpg on your wiki
If I add in
|caption|caption-text
then the caption show up correctly. But with no caption, it does the
weird thing.
Can you describe the weird thing?
The weird thing is leaving one of the values outside the hyperlink.
However, the fix that works is add the pipe after the last value. For
example, this:
[[image:image-name.jpg|thumb|200px|left]]
Results in a hyperlink to the image in a box, as expected, but with
the "200px" on the next line, not hyperlinked. But if I add the pipe
at the end:
[[image:image-name.jpg|thumb|200px|left|]]
Then it works as expected.
- -- brion vibber (brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iEYEARECAAYFAkgM2NUACgkQwRnhpk1wk45u8gCg0vaFp1sx0VDj/s8bysIhzcPE
s/gAn09slHaIUWuX8ILHWYrI17/Hz7Tl
=m6qI
-----END PGP SIGNATURE-----
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l