[Mediawiki-l] ImageMap Extension and external links

Brianna Laugher brianna.laugher at gmail.com
Wed May 16 11:35:39 UTC 2007


On 16/05/07, Alex Le Bek <alex at alexlebek.com> wrote:
> I have installed the ImageMap extension
> (http://www.mediawiki.org/wiki/Extension:ImageMap) and set
> $wgImageMapAllowExternalLinks = true
>
> With the following markup
>
> <imagemap>
> Image:mylogo.jpg
> rect 0 0 120 60 [[Help]]
> </imagemap>
>
> It works fine but fails when I use an external link:
>
> <imagemap>
> Image:mylogo.jpg
> rect 0 0 120 60 [http://www.mylink.com]
> </imagemap>
>
> with error
>                 <imagemap>: no valid link was found at the end of line 3
>
> Any ideas?

Does it work if you just put http://www.mylink.com/ ? (with no square brackets)

cheers
Brianna



More information about the MediaWiki-l mailing list