lahwaacz / wiki-scripts

Framework for writing bots, maintenance scripts or performing data analysis on wikis powered by MediaWiki
http://lahwaacz.github.io/wiki-scripts/
GNU General Public License v3.0
27 stars 12 forks source link

ExtlinkReplacements: replace irc:// with ircs:// #75

Closed nl6720 closed 3 years ago

nl6720 commented 3 years ago

Similar to the http://https:// replacement, irc:// could be updated to ircs:// for networks that support it.

Some of the networks that support IRC over TLS (and have a valid certificate) are:

lahwaacz commented 3 years ago

Is it possible for us to also check if the irc:///ircs:// links are working? Can we use some generic networking library or do we need an actual IRC client? There are likely some Python libraries that we could use...

nl6720 commented 3 years ago

I'm sure it' should be possible, but is it worth it... For ircs:// you would also need to make sure the python lib validates the certificate (if it is trusted and also valid for the server).