GWicke has submitted this change and it was merged.

Change subject: Bug fixes escaping wikitext chars in sol-position.
......................................................................


Bug fixes escaping wikitext chars in sol-position.

* wikitext-escaping code was checking for state.onNewline instead
  of state.onStartOfLine.

* Fixed incorrect 'newlineTransparent' flags for ul,ol,dl,dt
  handlers.

* +2 html2html, +3 html2wt, -2 wt2wt

* Of the two wt2wt failures:
  - one is not a regression but correct behavior given incorrect
    parse output for <noinclude>=foo=</noinclude>.   =foo= does
        not parse as a heading (as it shoudl), but comes through as
        plain text.  Given that html output, it is correct to nowiki
        wrap =foo= since =foo= is expected to parse as a heading.
  - the other failure is a legitimate regression because of
    conservative wikitext-escaping of "  foo" in sol context
        as a pre.

Change-Id: I0b5f6f3a409ee997409de130c52bc6af8265cc03
---
M js/lib/mediawiki.WikitextSerializer.js
1 file changed, 9 insertions(+), 13 deletions(-)

Approvals:
  GWicke: Verified; Looks good to me, approved
  jenkins-bot: Looks good to me, but someone else must approve


--
To view, visit https://gerrit.wikimedia.org/r/37785
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0b5f6f3a409ee997409de130c52bc6af8265cc03
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to