[Mediawiki-l] How to create links to images?

Rowan Collins rowan.collins at gmail.com
Sat Feb 12 14:02:33 UTC 2005


On Fri, 11 Feb 2005 11:54:44 -0800, Jan Steinman <Jan at bytesmiths.com> wrote:
> > Or must I put a #REDIRECT on the image page to achieve that?
> 
> Just tried that, and it doesn't work. All the examples I've seen on
> WikiPedia have been to internal links only.

No, you can't just "redirect" a page to a URL, because that would lead
to opportunities for some really evil vandalism (#REDIRECT
http://goatse... anyone?). You can, however, use "interwiki" links [1]
as the target, so "#REDIRECT
[[SomeSiteYouOftenLinkTo:Thepageyourafter]]" works - with the caveat
that the pagename has to conform to the rules that an internal link
would, including spaces becoming underscores.

Personally, I consider the treatment of interwikis as though they were
different from "ordinary" external ones as something of a bug, and
redirecting to them as exploiting that bug. (Only "sister projects"
should receive special treatment in this way, IMHO).

For other possible solutions, see a recent thread on wikitech-l [2][3]
and a related bug report [4].

[Refs:]
[1] http://meta.wikimedia.org/wiki/Help:Interwiki_links
[2] http://mail.wikimedia.org/pipermail/wikitech-l/2005-February/027604.html
[3] http://mail.wikimedia.org/pipermail/wikitech-l/2005-February/027608.html
[4] http://bugzilla.wikimedia.org/show_bug.cgi?id=539

-- 
Rowan Collins BSc
[IMSoP]



More information about the MediaWiki-l mailing list