Last modified: 2014-05-22 22:51:59 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 T59418, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57418 - VisualEditor: Adding external link (wikitext style) should trigger wikitext warning
VisualEditor: Adding external link (wikitext style) should trigger wikitext w...
Status: RESOLVED WONTFIX
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Lowest enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
https://en.wikipedia.org/w/index.php?...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-22 12:35 UTC by Elitre
Modified: 2014-05-22 22:51 UTC (History)
6 users (show)

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


Attachments

Description Elitre 2013-11-22 12:35:26 UTC
In the linked diff I added an external link within single brackets.
It didn't trigger the markup warning - I wouldn't know how to add such links in VE.
The markup guide for en.wp says these links are "Only used within article body for footnotes", but of course they might be used also outside ns0.
Comment 1 Krinkle 2013-11-26 17:53:37 UTC
Steps:
1. Edit page
2. Add [http://example.org]


Yep, we should change our wikitext detection to account for external links. Widening scope of this bug for external links in general, not just unnamed ones.

Steps:
1. Edit page
2. Add [http://example.org Foo] (unnamed external link)
3. Add [http://example.org] (named external link)

(In reply to comment #0)
> [..] I wouldn't know how to add such links in VE.

VisualEditor currently doesn't allow (external) links to be created without names. It can edit them (afaik), but not create new ones. This is a separate issue from the wikitext warning not being triggered though.
Comment 2 Elitre 2013-11-26 17:57:38 UTC
(As far as I tested, it can't edit them, that's why I filed bug 57419.)
Comment 3 James Forrester 2013-11-26 18:03:05 UTC
I worry that this would interfere with languages which use []s rather than ()s in text – remember that the wikitext warning is for rare, occasional chiding comments for users who've temporarily forgotten that they're using a rich editor rather than wikitext.

If you want to write "using sites like Amazon [http://amazon.com and its local country variants] or eBay [http://ebay.com etc.]" you're going to be rather annoyed by this…
Comment 4 James Forrester 2014-04-28 19:25:39 UTC
On reflection, I'm WONTFIXing this as it'd be too disruptive for a temporary notice.

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


Navigation
Links