Rob Church wrote:
On 21/12/06, Sarunas Burdulis
<sarunas(a)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