Page MenuHomePhabricator

tel: protocol should be enabled in $wgUrlProtocols for Wikivoyage sites
Closed, ResolvedPublic

Description

Author: carlb613

Description:
Wikivoyage pages are destination travel guides which list telephone numbers and contact info for things to see or do and places to eat or sleep. It would be useful to have the telephone numbers in these listings readily identifiable as such by smartphones, so that the E.164 telephone number can be dialled by clicking on an external link.

RFC3966 (the tel: protocol) would seem the obvious standard for these, but a link like "Jenny's Bar and Grill, [tel:+1-999-867-5309 867-5309]" won't work or display properly unless $wgUrlProtocols[] = "tel:"; is actually enabled (using [[mw:manual$wgUrlProtocols]]) in the local wiki's configuration file.


Version: wmf-deployment
Severity: enhancement
URL: *.wikivoyage.org

Details

Reference
bz44315

Related Objects

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:37 AM
bzimport set Reference to bz44315.
bzimport added a subscriber: Unknown Object (MLST).

carlb613 wrote:

RFC2806 http://www.ietf.org/rfc/rfc2806.txt indicates the format as:

Telephone: <a href="tel:+3585551234567">+358-555-1234567</a>

while gerrit:47308 has '+wikivoyage' => array( 'tel://' ),

Looks like the // shouldn't be there, much like news: and mailto:

I'd suspect indicates that what follows is the domain name of a server, like http: ... ?