Last modified: 2014-05-06 23:02: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 T65798, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63798 - data-mw missing from template invocation
data-mw missing from template invocation
Status: RESOLVED DUPLICATE of bug 63699
Product: Parsoid
Classification: Unclassified
DOM (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-10 23:54 UTC by Jackmcbarn
Modified: 2014-05-06 23:02 UTC (History)
2 users (show)

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


Attachments

Description Jackmcbarn 2014-04-10 23:54:29 UTC
The final {{edit semi-protected}} template at http://parsoid-prod.wmflabs.org/enwiki/Talk%3AList_of_PlayStation_3_games?oldid=603662711 (the table just under the "Semi-protected edit request on 23 March 2014" heading) lacks a data-mw attribute. It should have one, the way all the other template invocations do.
Comment 1 ssastry 2014-04-12 17:04:59 UTC
The problem is that this template invocation: {{vgrtbl|JP|March 19, 2014}} introduces an inclosed span which pretty much wraps everything else from that point till the end of the document. So, that unbalanced transclusion wraps all other content and transclusions. You can see the in your browser with a DOM inspector.

Look at the data-mw for that span (with about id #mwt18). You will find that its parts start with the Vgrtbl template and include everything further on. Tidy probably closes the unclosed span much earlier.

This is yet another issue between how Tidy cleans up misnested tags and how Parsoid handles it. Parsoid relies on a HTML5 parser to fix things up and doesn't do anything beyond that. There are now a bunch of issues showing up in different context that all pertain to differences between Tidy and Parsoid.

I'll leave this bug report open with this info. But if you fix the template, the problem will resolve. An unrelated issue I notice is that there seems to be missing table tags around where the vgrtbl template is being used.
Comment 2 Jackmcbarn 2014-04-12 17:29:00 UTC
I've fixed the vgrtbl template. The table tags aren't supposed to be there in this case, since it was a user requesting that that column be added to the article's table.
Comment 3 ssastry 2014-05-06 23:02:10 UTC

*** This bug has been marked as a duplicate of bug 63699 ***

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


Navigation
Links