Page MenuHomePhabricator

Add irc:// support to URL datatype
Closed, ResolvedPublic

Description

The URL datatype needs support for IRC adress + channel so we can create this property:

https://www.wikidata.org/wiki/Wikidata:Property_proposal/Term#IRC

Discussion so far:

(Taken from Wikidata Project chat)

Does anybody else have an opinion about what the datatype for IRC channels should be? Can we save the whole address or does the channel have to be separate? Will the URL datatype even take channels? See: Wikidata:Property_proposal/Term#IRC -Tobias1984 (talk) 18:04, 3 November 2014 (UTC)

IMHO it should be URL. If that currently doesn't take irc:// then can you please open a bug so we can add it? --Lydia Pintscher (WMDE) (talk) 18:34, 3 November 2014 (UTC)

A channel is uniquely specified by its server address and name. It's a URL albeit not an http one.--Jasper Deng (talk) 18:58, 3 November 2014 (UTC)


Version: unspecified
Severity: normal
Whiteboard: u=dev c=backend p=0

Details

Reference
bz72924

Related Objects

StatusSubtypeAssignedTask
ResolvedNone
ResolvedNone

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 4:00 AM
bzimport added a project: Wikidata.org.
bzimport set Reference to bz72924.
bzimport added a subscriber: Unknown Object (MLST).

Change 170906 had a related patch set uploaded by Thiemo Mättig (WMDE):
Refactor UrlSchemeValidators and allow more schemes

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

Change 170906 merged by jenkins-bot:
Refactor UrlSchemeValidators and allow more schemes

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

Is there a depending bug report for adding 'irc' to the configuration? Without a configuration change users won't be able to use the new code.

Change 172545 had a related patch set uploaded by Thiemo Mättig (WMDE):
Add irc to the allowed URL schemas

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

Change 172545 merged by jenkins-bot:
Add irc to the allowed URL schemas

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