Mailing List Archive

Anchor (and img)
hi,

How can I enable the <a> and <img> HTML tags in mediawiki 1.3.7?

--
NSK
Admin of http://portal.wikinerds.org
Project Manager of http://www.nerdypc.org
Project Manager of http://www.adapedia.org
Re: Anchor (and img) [ In reply to ]
On Mon, Nov 01, 2004 at 05:01:50AM +0200, NSK wrote:
> hi,
>
> How can I enable the <a> and <img> HTML tags in mediawiki 1.3.7?

The first is nonsene cuz we have links in wikipedia syntax.
For the second activate $wgAllowExternalImages and just put in the URL.
BUT I must strongly advise you to leave it at false. Otherwise you'd
have to check the weblinks in your wiki (if you want to code something
fresh, hack a table for the weblinks and a special page, a blacklist would
be fine too).

On de: we had a problem with that a year ago and quickly decided to
switch to dissallow images.

If you really want to allow them, see includes/Parser.php function removeHTML()

PS: Please always grep the source first.
ciao, tom
--
== Weblinks ==
* http://shop.wikipedia.org - WikiReader Internet zu kaufen
* http://de.wikipedia.org/wiki/Benutzer:TomK32
* http://www.hammererlehen.de - Urlaub in Berchtesgaden