[Bug 55902]: <BR> special case in makeSeparator

* Fixes one selser test and should eliminate noisy, but spurious,
  regression in rt testing.

Change-Id: I20683153e7ec445b3a370e13c5c9a25c15357327
Bug fix in serialiation of <div attr="">foo</div> style tags

* This would RT to <div attr>foo</div> -- and is the cause of
  a number of noisy diffs in rt-testing.

* This patch fixes this to serialize to <div attr="">foo</div>
  always.

* Fixes a couple wt2wt tests, and 1 html2wt test, and a few
  selser tests as well.

* This patch also normalizes <font color>foo</font> to
  <font color="">foo</font> which is the new failing wt2wt test
  (and associated selser failures because selser is more accurate).

Change-Id: Iaa5f2d586e01ba60fc9ff1325c3c8bda9cab1b66
Match all characters when testing comments for JSON

`.` doesn't match newline chars.

Bug: 54927
Change-Id: Ibe425c30dedbaf7a17502675861d49259f194d1c
Merge "Match all characters when testing comments for JSON"
Minor: Cleanup and comment update.

Change-Id: I502f838f55a0a7c046b9d5969a8e5fb6af0dbc10
Move migrateStartMetas pass after markTreeBuilderFixups pass

* This can potentially enable improved template wrapping in some
  odd edge cases.

* This change causes 6 selser failures (but which is actually a
  better serialization than the previous output).

Change-Id: I4fe332435c4d922feff989d6cda3f820a07e8106
Fix crash in parserTests

|| has higher precedence than &&

Introduced in f27904aef1b096211fd665e6106baec1ff6afb6c.

Change-Id: I8221edf61206fe9ca79b10a99c07e15d9676e7d3
Generate less timeouts on pages that make a lot of API requests

 * Increase maxSockets for API requests. The default in node is 5 per host.
   Parsing pages with lots of templates makes many concurrent connections
   that end up timing out. Bumping this up shaves at least a minute off
   that large test case in the bug report:

   fr/Liste_des_premiers_préfets_français_(1800-1815)

 * Cache and coalesce ImageInfoRequests.

Bug: 55585
Change-Id: Ia025a90a52b45c0816983d1b7b34fc074b6b4c4f
Merge "Minor: Cleanup and comment update."
Merge "Move migrateStartMetas pass after markTreeBuilderFixups pass"
Move data-parsoid into a JSON structure outside the DOM

 * IDs are generate with the following pattern,

     mw<base64-encoded counter>

 * Adds two flags to parse.js,

     --dp, Outputs the JSON structure

     --dpin <JSON>, Accepts the output from the above

 * Adds a configuration env.conf.parsoid.storeDataParsoid
   which is off by default to keep parserTests passing,
   but turned on with the above flags.

Bug: 52936
Change-Id: Ie58620d0909be3fcd3e9dcf84efaaa16c96d556e
ParserService middleware cleanup

Moves getParserServiceEnv to an express middleware.

Change-Id: I2bdc3aa5102d96e90515fe80b762f88bc8537175
Merge "ParserService middleware cleanup"
Updated migrateStartMetas to handle migrate both start/end metas

* As a mirror transformation to migrateStartMetas, migrate
  template marker end-metas that are last-children to their
  parent's sibling. This has the same benefit as the former
  transformation of more accurately bounding template-generated
  content.

* One selser test fails -- but arguably, a better result given that
  the parse output is a bit broken on this test case.

Change-Id: I5ca7caf5124acd91be8c6f1d4308f85e3f5daf4f
Disable persistent connections in curl client

This is a port of https://gerrit.wikimedia.org/r/#/c/92010/, which fixed a
performance regression in core. This might be specific to a broken HTTP
pipelining implementation in Swift, but for good measure lets port this to
our curl client too.

TODO:
Develop a shared curl_multi client in core

Change-Id: I92d3d4e20dc59b07b2e7964e5b979ca05ff71250
Bug 56058: Use https to pull in es6-shim

Also point to es6-shim master. Should update to the next release when that
becomes available.

Change-Id: If9e779003b1dad9f7615f6176669ff890c7d7d56
Bug 52938: Only trigger indent pre on spaces

Change-Id: I90149255cf0a6918ae8ff38a2f88b0d144893f18
Merge "Disable persistent connections in curl client"
Merge "Bug 56058: Use https to pull in es6-shim"
Bug 56195: Only trigger indent-pre on space

Change-Id: I4f8255d03dce047e96b60f0dee3909fb3c96fe37