Page MenuHomePhabricator

Syntaxhighlight incorrectly highlights words as URL protocols
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:
News: got highlighted as a URL protocol (according to its class: cm-mw-free-extlink-protocol) while it shouldn't be. This also happens with bitcoin, geo, magnet, mailto, sip, sips, sms, tel, urn, xmpp (protocols that doesn't require succeeding //).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 991627 had a related patch set uploaded (by Bhsd; author: Bhsd):

[mediawiki/extensions/CodeMirror@master] fix protocol-like words not as URL protocol

https://gerrit.wikimedia.org/r/991627

Change 991627 merged by jenkins-bot:

[mediawiki/extensions/CodeMirror@master] fix protocol-like words not as URL protocol

https://gerrit.wikimedia.org/r/991627