Subramanya Sastry has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/325048

Change subject: Use lebab to migrate codebase to use ES6 syntax
......................................................................

Use lebab to migrate codebase to use ES6 syntax

Changes generated via:
lebab --transform=arrow,obj-method,obj-shorthand,let,class,template --replace 
DIR

With this change, we break node v0.1x compatibility.

Change-Id: Id8746965ba1bddfd575f0ae264ece4d77b61bae5
---
M bin/domdiff.test.js
M bin/parse.js
M bin/parserTests.js
M bin/roundtrip-test.js
M bin/server.js
M lib/api/ParsoidService.js
M lib/api/apiUtils.js
M lib/api/routes.js
M lib/config/MWParserEnvironment.js
M lib/config/ParsoidConfig.js
M lib/config/WikiConfig.js
M lib/config/WikitextConstants.js
M lib/config/extapi.js
M lib/ext/Cite/index.js
M lib/ext/Gallery/index.js
M lib/ext/Gallery/modes.js
M lib/ext/JSON/index.js
M lib/ext/LST/index.js
M lib/ext/Translate/index.js
M lib/html2wt/ConstrainedText.js
M lib/html2wt/DOMDiff.js
M lib/html2wt/DOMHandlers.js
M lib/html2wt/LinkHandler.js
M lib/html2wt/SelectiveSerializer.js
M lib/html2wt/SerializerState.js
M lib/html2wt/WTSUtils.js
M lib/html2wt/WikitextSerializer.js
M lib/html2wt/escapeWikitext.js
M lib/html2wt/normalizeDOM.js
M lib/html2wt/separators.js
M lib/index.js
M lib/jsapi.js
M lib/logger/LogData.js
M lib/logger/Logger.js
M lib/logger/ParsoidLogger.js
M lib/logger/linter.js
M lib/mw/ApiRequest.js
M lib/mw/Batcher.js
M lib/utils/DOMTraverser.js
M lib/utils/DOMUtils.js
M lib/utils/Diff.js
M lib/utils/Util.js
M lib/utils/jsutils.js
M lib/wt2html/DOMPostProcessor.js
M lib/wt2html/HTML5TreeBuilder.js
M lib/wt2html/TokenTransformManager.js
M lib/wt2html/XMLSerializer.js
M lib/wt2html/parser.defines.js
M lib/wt2html/parser.js
M lib/wt2html/pp/handlers/cleanup.js
M lib/wt2html/pp/handlers/handleLinkNeighbours.js
M lib/wt2html/pp/handlers/headings.js
M lib/wt2html/pp/handlers/liFixups.js
M lib/wt2html/pp/handlers/linter.js
M lib/wt2html/pp/handlers/tableFixups.js
M lib/wt2html/pp/handlers/unpackDOMFragments.js
M lib/wt2html/pp/processors/cleanupFormattingTagFixup.js
M lib/wt2html/pp/processors/computeDSR.js
M lib/wt2html/pp/processors/handlePres.js
M lib/wt2html/pp/processors/handleUnbalancedTables.js
M lib/wt2html/pp/processors/markFosteredContent.js
M lib/wt2html/pp/processors/markTreeBuilderFixups.js
M lib/wt2html/pp/processors/migrateTemplateMarkerMetas.js
M lib/wt2html/pp/processors/migrateTrailingNLs.js
M lib/wt2html/pp/processors/normalize.js
M lib/wt2html/pp/processors/wrapTemplates.js
M lib/wt2html/tokenizer.js
M lib/wt2html/tokenizer.utils.js
M lib/wt2html/tt/AttributeExpander.js
M lib/wt2html/tt/BehaviorSwitchHandler.js
M lib/wt2html/tt/DOMFragmentBuilder.js
M lib/wt2html/tt/ExtensionHandler.js
M lib/wt2html/tt/LinkHandler.js
M lib/wt2html/tt/ListHandler.js
M lib/wt2html/tt/NoIncludeOnly.js
M lib/wt2html/tt/ParagraphWrapper.js
M lib/wt2html/tt/ParserFunctions.js
M lib/wt2html/tt/PreHandler.js
M lib/wt2html/tt/QuoteTransformer.js
M lib/wt2html/tt/Sanitizer.js
M lib/wt2html/tt/TemplateHandler.js
M lib/wt2html/tt/TokenCollector.js
M lib/wt2html/tt/TokenHandler.js
M lib/wt2html/tt/TokenStreamPatcher.js
M tests/mocha/api.js
M tests/mocha/apitest.localsettings.js
M tests/mocha/dsr.js
M tests/mocha/heading.ids.js
M tests/mocha/jsapi.js
M tests/mocha/lintertest.js
M tests/mocha/parse.js
M tests/mocha/parsoid.config.js
M tests/mocha/templatedata.js
M tests/mocha/test.helpers.js
M tests/mocha/xmlserializer.js
M tests/mockAPI.js
M tests/parserTests-blacklist.js
M tests/parserTests-whitelist.js
M tests/parserTestsParserHook.js
M tests/rttest.localsettings.js
M tests/serviceWrapper.js
M tests/testreduce/config.example.js
M tests/testreduce/rtTestWrapper.js
M tools/fetch-parserTests.txt.js
M tools/fetch-revision-data.js
M tools/fetch-sitematrix.js
M tools/fetch-wt.js
M tools/fetch_ve_nowiki_edits.js
M tools/regression-testing.js
M tools/sync-parserTests.js
110 files changed, 20,424 insertions(+), 20,785 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/48/325048/1


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id8746965ba1bddfd575f0ae264ece4d77b61bae5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <ssas...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to