Automatic conversion of external links to interwiki links should work if the protocol is HTTPS as well as HTTP
Closed, ResolvedPublic

Description

Intention:
Add a link at the English Wikipedia to the Spanish Wikipedia.

Steps to Reproduce:

  1. Type a label/anchor.
  1. Open the link inspector.
  1. Paste in https://es.wikipedia.org/wiki/Idioma_inglés
  1. Exit the link inspector and save changes.

Actual Results:
It created an external link: [https://es.wikipedia.org/wiki/Idioma_inglés Label].

Expected Results:
It should have behaved the same as pasting the same link, but with HTTP:// at the start. It should have created an interwiki link: [[:es:Idioma_inglés|Label]].

Reproducible: Always


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=57019

bzimport added a project: Parsoid-Serializer.Via ConduitNov 22 2014, 2:55 AM
bzimport set Reference to bz61672.
Whatamidoing-WMF created this task.Via LegacyFeb 20 2014, 5:27 PM
Whatamidoing-WMF added a comment.Via ConduitFeb 20 2014, 7:52 PM

It would also be nice if this process:

  1. Paste a URL
  1. Press Command-K

turned https://es.wikipedia.org/wiki/Idioma_inglés into [[:es:Idioma inglés]] or [[:es:Idioma inglés|Idioma inglés]].

Jdforrester-WMF added a comment.Via ConduitApr 17 2014, 7:48 PM

The conversion is done in Parsoid, not VE; moving there.

gerritbot added a comment.Via ConduitMay 20 2014, 12:21 AM

Change 134160 had a related patch set uploaded by Jforrester:
Support protocol-relative URLs in the interwiki map.

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

Add Comment