Last modified: 2014-09-04 07:12:11 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 T71885, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69885 - [cxserver] Parsing removes empty spans causing template data loss
[cxserver] Parsing removes empty spans causing template data loss
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ContentTranslation (Other open bugs)
master
All All
: High normal (vote)
: ---
Assigned To: D Chan
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-22 03:48 UTC by Santhosh Thottingal
Modified: 2014-09-04 07:12 UTC (History)
10 users (show)

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


Attachments

Description Santhosh Thottingal 2014-08-22 03:48:49 UTC
Span elements with data-mw and data-parsoid are getting lost when parsed by LinearDoc.js. This happens in the case spans contains empty or just new line. 

This cause inconsistent behavior while handling templates at client side.

Steps to reproduce

http://parsoid.wmflabs.org/eswiki/Bangalore?oldid=75955225  has the infobox table and its associated span with about=#mwt3

But http://cxserver.wmflabs.org/page/es/Bangalore does not have a span with about=#mwt3
Comment 1 Gerrit Notification Bot 2014-09-04 07:07:11 UTC
Change 158333 had a related patch set uploaded by Santhosh:
Avoid removing empty spans that carry template data

https://gerrit.wikimedia.org/r/158333
Comment 2 Gerrit Notification Bot 2014-09-04 07:11:30 UTC
Change 158333 merged by jenkins-bot:
Avoid removing empty spans that carry template data

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

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


Navigation
Links