Last modified: 2014-10-10 01:43:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63672, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61672 - Automatic conversion of external links to interwiki links should work if the protocol is HTTPS as well as HTTP
Automatic conversion of external links to interwiki links should work if the ...
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
serializer (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: C. Scott Ananian
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-20 17:27 UTC by WhatamIdoing
Modified: 2014-10-10 01:43 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description WhatamIdoing 2014-02-20 17:27:10 UTC
Intention:
Add a link at the English Wikipedia to the Spanish Wikipedia.

Steps to Reproduce:
1. Type a label/anchor.

2. Open the link inspector.

3. Paste in https://es.wikipedia.org/wiki/Idioma_inglés

4. 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
Comment 1 WhatamIdoing 2014-02-20 19:52:58 UTC
It would also be nice if this process:

1.  Paste a URL

2.  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]].
Comment 2 James Forrester 2014-04-17 19:48:51 UTC
The conversion is done in Parsoid, not VE; moving there.
Comment 3 Gerrit Notification Bot 2014-05-20 00:21:28 UTC
Change 134160 had a related patch set uploaded by Jforrester:
Support protocol-relative URLs in the interwiki map.

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links