Page MenuHomePhabricator

What URL protocols are recognized in plain text should be configurable separate of $wgUrlProtocols
Open, Needs TriagePublic

Description

$wgUrlProtocols configures what protocol prefixes cause an URL to be treated as an URL (converted to a link), both in the [url text] syntax, and in bare URLs. That works out poorly for protocols where the URL does not start with // (such as tel: or news:): they are niche enough that we probably don't particularly care about supporting them as bare links (we probably don't care about any protocol except http:// / https://) but they can show up accidentally in text, or as a namespace name (T46011). It would make much more sense to have a separate, narrower list of protocols which get "auto-detected" in plain text.