Le 12/04/12 08:33, Roan Kattouw a écrit : <snip some long regex> > ZOMG. Anyway, what I'd do if I had a MediaWiki clone handy is look through > Sanitizer.php to see if there's anything in there that handles URLs.
Parser.php already has some code when dealing with link= parameter for image tags. That is the code I copy pasted above :-D -- Antoine "hashar" Musso _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l