On Fri, Nov 29, 2002 at 12:53:33AM -0800, Brion VIBBER wrote:
Tomasz Wegrzanowski wrote:
Not that thing !
Upload the image to the Wikipedia server and link as above.
Non-local inline images are inherently unreliable; the source may move
or delete the image without warning, may consider us to be bandwidth
thieves and block anything with a referrer from Wikipedia, may just be
down when we're up, may not be copyright-compatible, and could be
unhelpful to attempts to set up offline mirrors.
Well, images I want won't rally be external, but won't be uploaded either.
In any case, linking to external images should be policy issue,
not something that is forced by software.
I was trying to put Math parsing somewhere into 15-passes Wikipedia
markup parsing. Because there is no way to protect math markup from
interpretation by Wiki, I had to put it before removeHTMLtags.
But then, removeHTMLtags breaks <img src="" alt=""> tag.
Even if I tell removeHTMLtags to accept IMG ALT and SRC,
replaceExternalLinks would kill url in src="".
Any ideas ?
And some day we should make that parser a single-pass LALR ...