Last modified: 2014-07-18 20:47:04 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 T70090, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68090 - Parsoid treats interlanguage links with leading spaces as if they had a leading colon
Parsoid treats interlanguage links with leading spaces as if they had a leadi...
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Parsoid Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-16 07:55 UTC by This, that and the other (TTO)
Modified: 2014-07-18 20:47 UTC (History)
3 users (show)

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


Attachments

Description This, that and the other (TTO) 2014-07-16 07:55:09 UTC
Consider the following wikitext:

[[fr:eau]] [[es: eau]] [[ ru:eau]] [[ da: eau]] [[  DE : eau  ]]

The PHP parser interprets all five of these as interlanguage links, and puts them in the sidebar.

Parsoid correctly interprets the first two as language links, but treats the last three as if they had a leading colon.
Comment 1 Gerrit Notification Bot 2014-07-17 10:20:32 UTC
Change 147075 had a related patch set uploaded by Arlolra:
Trim while normalizing namespace for interwiki links

https://gerrit.wikimedia.org/r/147075
Comment 2 Gerrit Notification Bot 2014-07-18 10:21:06 UTC
Change 147075 merged by jenkins-bot:
Trim while normalizing namespace for interwiki links

https://gerrit.wikimedia.org/r/147075
Comment 3 ssastry 2014-07-18 20:47:04 UTC
Will deploy monday after testing.

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


Navigation
Links