[Mediawiki-l] External script-generated images

Gary Kirk gary.kirk at gmail.com
Thu Dec 21 23:23:48 UTC 2006


In fact it is mediawiki.org, but .com possibly is a redirect.

On 12/21/06, Wayne Marsh <wayne.marsh at aldatasoftware.com> wrote:
> Check out www.mediawiki.com/wiki/Manual:MediaWiki_hooks
>
>
> -----Original Message-----
> From: mediawiki-l-bounces at Wikimedia.org
> [mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Sarunas Burdulis
> Sent: Thursday, December 21, 2006 1:31 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] External script-generated images
>
> Rob Church wrote:
> > On 21/12/06, Sarunas Burdulis <sarunas at math.dartmouth.edu> wrote:
> >> Hello,
> >>
> >> Is there a way to embed (or enable embedding) of something that in raw
> >> html would work as:
> >>
> >> <a href="http://somesite.net/somepage.html>
> >> <img src=http://somesite.net/script?param>
> >> </a>
> >
> > If $wgAllowExternalImages is set to "true" in LocalSettings.php, then
> > it might be possible through [http://server/script?params].
> Yes, I tried that, but it renders as [1] with the link underneath.
>
> > If not, then there are a couple of options:
> >
> > (Better) Write a parser hook extension that accepts the parameter
> > values as attributes and generates the appropriate HTML.
> Hmm... guess I'll need a primer on "writing a parser hook for MediaWiki"?
>
> > (Worse) Enable raw HTML ($wgRawHtml) and include the above HTML
> > snippet on a page with <html></html>tags.
> This works just fine.
>
> Thanks for your quick help!
>
> Sarunas
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>


-- 
Gary Kirk



More information about the MediaWiki-l mailing list