See [https://fr.wikipedia.org/w/index.php?title=Alexis_Galp%C3%A9rine&diff=prev&oldid=119818187 this edit] (and also other edits on this article) :
Forbidden <a> tag(since fixed)- With an ISBN converted into a telephone number
With parsoid attributes(since fixed)
iOS has a feature which detects patterns of numbers in an HTML document and automatically turns these into tel:// links when rendering a page on an iOS device. This in combination with VisualEditor sometimes leads to tel:// links being inserted by VisualEditor as it converts the HTML document back to wikitext.
As tel:// links are supported and allowed in wikitext and because the html links have no distinguishing features they are currently not filtered out because they might be legitimate content..
A fix was attempted earlier by disallowing this automatic detection in T256758: Prevent Safari from creating phone links for numbers in format ###-#### but it seems that this hint does not transfer to the visual editor documents we are handling.
Testing instructions
- Create page with a phone number, e.g. 555-1234
- Open VE mobile on an iPhone
- Observed: The phone number is an un-editable link (inline alien node)
- Expected: The phone number is editable plain text
- Create an external link to "tel:555-1234" inside VE using the link tool
- Expected: This creates an external link in wikitext when saved: [tel:555-1234 555-1234]. This is the current behaviour but we should test the patch doesn't break this.