Last modified: 2013-07-19 04:41:47 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 T53405, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51405 - Parsoid doesn't recognize </nowiki > (with space)
Parsoid doesn't recognize </nowiki > (with space)
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-15 22:37 UTC by Roan Kattouw
Modified: 2013-07-19 04:41 UTC (History)
4 users (show)

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


Attachments

Comment 1 Roan Kattouw 2013-07-15 22:39:18 UTC
The user apparently produced this result by typing "</nowiki >[[hello]]" into the editor, which Parsoid turned into "<nowiki></nowiki >[[hello]]</nowiki>", which is then parsed differently by PHP and Parsoid.
Comment 2 Carl Fürstenberg 2013-07-15 23:10:05 UTC
Also similar, adding "</nowiki>[[File:Example.png]] to a image caption in VE" results in http://en.wikipedia.org/wiki/User:AzaToth/sandbox/image and opening edit of caption again gives me http://i.imgur.com/PQVRoH6.png
Comment 3 Gabriel Wicke 2013-07-17 16:05:05 UTC
I have a partial fix locally that needs more testing.
Comment 4 Gerrit Notification Bot 2013-07-18 22:14:10 UTC
Change 74537 had a related patch set uploaded by GWicke:
Bug 51405: Recognize and escape nowiki with spaces and odd capitalization

https://gerrit.wikimedia.org/r/74537
Comment 5 Gerrit Notification Bot 2013-07-19 03:42:49 UTC
Change 74537 merged by jenkins-bot:
Bug 51405: Recognize and escape nowiki with spaces and odd capitalization

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

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


Navigation
Links