GWicke has submitted this change and it was merged. Change subject: Updated WT escaping tests to be more useful in non-html2wt modes. ......................................................................
Updated WT escaping tests to be more useful in non-html2wt modes. * Updated many tests so that the "result" output (input to html2wt mode) is more consistent with how PHP parser generates HTML. * Disabled several tests for PHP parser since we cannot make the HTML identical to what PHP parser outputs -- since PHP parser does not generate meta-data (ex: mw:WikiLink) or retain comments in output. Metadata, comments, etc. are part of the html2wt testing mode. * Serialization of table HTML seems to be sensitive to white-space between <tr> and <td> tags -- PHP parser outputs a newline between them but the Parsoid serializer does not know to ignore that newline. Once serializer is fixed to handle that, the remaining table tests will be fixed up. * Once this is done, these tests will be ready to be merged into parserTests.txt. Change-Id: I4e50f219299801f0dc971b08c25fbb3791ff0cd6 --- M js/tests/wt_escape.tests.txt 1 file changed, 150 insertions(+), 77 deletions(-) Approvals: GWicke: Verified; Looks good to me, approved -- To view, visit https://gerrit.wikimedia.org/r/27305 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I4e50f219299801f0dc971b08c25fbb3791ff0cd6 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Parsoid Gerrit-Branch: master Gerrit-Owner: Subramanya Sastry <[email protected]> Gerrit-Reviewer: GWicke <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
