> On Mar 16, 2025, at 1:22 PM, la...@denenberg.com wrote: > > 1) Is there a way to find all mailto: links on a wiki, other than fixing them > one by one like I'm doing? (Please don't say "use pywikibot" even though > that's the right answer.)
My first thought was a search for insource:mailto, but I just tried that on your wiki and didn't get anything useful. So maybe an SQL query against the underlying database? Or just use [[Special:Export]] to dump the entire database in XML and grep that for "mailto". Neither of those will be very efficient, but I'm assuming your wiki is small enough that it won't matter. > 2) Should this be reported as a bug in Phabricator? Wiki pages should be able > to have mailto: links, no? This is definitely a bug. I looked at the code a little earlier today. All it's using the hostname for is to give a name to a thread, presumably for debugging or logging purposes. It shouldn't crash on malformed input. At worst, it could invent some thread name like "unknown host" or use some other part of the parsed URL for a string. _______________________________________________ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/2HOOWRJFZBRCK7GWY6PEDAGO3OHSWZ4T/ To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org