[Mediawiki-l] ImageMap Extension and external links

Dantman dan_the_man at telus.net
Wed May 16 11:46:46 UTC 2007


The ImageMap extension isn't coded to use external links. Only internal 
ones. If you want to do something like that you'll half to request that 
as a new feature and have someone code it into the extension.

~Daniel Friesen of The Gaiapedia and Wikia Graphical Entertainment Project



Brianna Laugher wrote:
> 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
>
> _______________________________________________
> 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