Subramanya Sastry has submitted this change and it was merged. Change subject: Fix a few OOM errors ......................................................................
Fix a few OOM errors Async returns with ret.tokens being a string were processed character-wise, which quickly led to out-of-error conditions. For now we work around this by wrapping the returned string in an array and pass it on, but eventually we should investigate the emitters of these unexpected results. The switch parser function in particular seemed to emit a chunk which was forced through toString(), something to investigate later. No changes in parserTests, but pages like [[:en:Serie A 2011-12]] are now round-tripping. Change-Id: I9231f35663313319a17dd7096a7bb0ec91f34a94 --- M js/lib/mediawiki.TokenTransformManager.js 1 file changed, 39 insertions(+), 30 deletions(-) Approvals: Subramanya Sastry: Verified; Looks good to me, approved -- To view, visit https://gerrit.wikimedia.org/r/29873 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9231f35663313319a17dd7096a7bb0ec91f34a94 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Parsoid Gerrit-Branch: master Gerrit-Owner: GWicke <[email protected]> Gerrit-Reviewer: Subramanya Sastry <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
