I'm trying to get PEAR Wiki Filter to ignore inline image links when using the mediawiki filter.

Default behaviour for MediaWiki is to convert a plaintext URL to an image,
e.g.
http://www.exaple.com/image.jpg

to something with Only local images are allowed. tags, meaning that the image becomes hotlinked.

I'm trying to disable this and treat an image link as any other inline URL- just make a link to the file. What's the quickest way to achieve this?

Any help mcuh appreciated!

Thanks,
Chris.

Comments

chrism2671’s picture

Status: Active » Closed (fixed)

Figured this out- edit URL.php in the Xhtml render part of the pear filter.