Last modified: 2014-07-18 21:50:33 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 T66300, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64300 - Too quick to use 'autolink' form for URLs
Too quick to use 'autolink' form for URLs
Status: NEW
Product: Parsoid
Classification: Unclassified
serializer (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Parsoid Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-23 17:02 UTC by C. Scott Ananian
Modified: 2014-07-18 21:50 UTC (History)
2 users (show)

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


Attachments

Description C. Scott Ananian 2014-04-23 17:02:10 UTC
$ echo 'x<a rel="mw:ExtLink" href="http://cscott.net">http://cscott.net</a>' | tests/parse.js --html2wt
xhttp://cscott.net

Whoops -- we should only convert back to the 'autolink' form for the URL if there is whitespace preceding it.  Otherwise this should be serialized as:

x[http://cscott.net http://cscott.net]
Comment 1 Gerrit Notification Bot 2014-04-24 22:35:19 UTC
Change 129598 had a related patch set uploaded by Cscott:
Don't allow autolinked URLs to run together with preceding text.

https://gerrit.wikimedia.org/r/129598
Comment 2 C. Scott Ananian 2014-04-25 17:02:36 UTC
See also bug 64436, which is the other side of the same issue. (Separate bugs, though.)
Comment 3 C. Scott Ananian 2014-04-25 17:29:43 UTC
This is also the case for RFC / PMID links.
Comment 4 ssastry 2014-05-12 19:33:51 UTC
(In reply to C. Scott Ananian from comment #3)
> This is also the case for RFC / PMID links.

You will be surprised ... https://www.mediawiki.org/wiki/User:Ssastry/Tests:links
Comment 5 Gerrit Notification Bot 2014-05-12 20:46:39 UTC
Change 133021 had a related patch set uploaded by Subramanya Sastry:
WIP: (Bug 64300) Deal with <nowiki/> escaping around url-links

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

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


Navigation
Links