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

Details

Reference
bz61672
bzimport set Reference to bz61672.

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]].

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

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