Last modified: 2014-07-14 20:39:10 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 T69768, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67768 - Characters are garbled after a blockquote containing a linked parameter
Characters are garbled after a blockquote containing a linked parameter
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: High major
: ---
Assigned To: ssastry
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-09 23:52 UTC by Jackmcbarn
Modified: 2014-07-14 20:39 UTC (History)
3 users (show)

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


Attachments

Description Jackmcbarn 2014-07-09 23:52:11 UTC
The following wikitext:
<blockquote>[[{{{1}}}]]</blockquote>abcdefgh

round-trips to this:
<blockquote>[[{{{1}}}]]</blockquote>ababcdefgh

The "a" and the "b" are somehow being doubled.

If a newline is present after the blockquote, then this:
<blockquote>[[{{{1}}}]]</blockquote>
abcdefgh

becomes this:
<blockquote>[[{{{1}}}]]</blockquote>
a
cdefgh

Now, the "b" is changed to a second newline.
Comment 1 ssastry 2014-07-10 01:17:33 UTC
This is a DSR computation issue. See the warning on trying to parse the snippet.

[subbu@earth tests] echo '<blockquote>[[{{{1}}}]]</blockquote>' | node parse
[warning][enwiki/Main_Page] DSR inconsistency: cs/s mismatch for node: BLOCKQUOTE s: 12 ; cs: 10
...
Comment 2 Technical 13 2014-07-10 01:46:35 UTC
This issue is causing quite a bit of disruption on wiki where user's are accusing others of bad faith editing because of it and harassing about it.  As such, I've elevated the priority one notch on this while adding myself to the cc list.
Comment 3 Gerrit Notification Bot 2014-07-10 03:33:39 UTC
Change 145215 had a related patch set uploaded by Subramanya Sastry:
(Bug 67768) Update TSR when converting invalid wikilinks to plain text

https://gerrit.wikimedia.org/r/145215
Comment 4 Gerrit Notification Bot 2014-07-10 07:19:21 UTC
Change 145215 merged by jenkins-bot:
(Bug 67768) Update TSR when converting invalid wikilinks to plain text

https://gerrit.wikimedia.org/r/145215
Comment 5 ssastry 2014-07-10 15:26:06 UTC
This will go live on Monday once it is rt-tested tonight and deployed Monday 1pm PST.
Comment 6 ssastry 2014-07-14 20:39:10 UTC
Now live. Please verify and reopen if problem persists.

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


Navigation
Links