Parsoid/Deployments

Planned deployments, linked from Deployments. For a list of past deployments, look for 'parsoid' in Server Admin Log.

See Parsoid to learn how to deploy a new version of Parsoid.

Thursday, May 2 2019 around 10:30 am PT: 97867818 to be deployed

 * Simplify nowiki_text rule
 * Back port latest Sanitizer::normalizeCss to Parsoid (JS and PHP)
 * Only monkey-patch console.assert on Node >= v10
 * Remove dead tsrDelta code from UnpackDOMFragments.*
 * Remove dead code from TokenUtils:shiftTokensTSR
 * Clarify names of offset fields + remove redundant fields

Monday, Apr. 29, 2019 around 1:19 pm PT: ✅
wt -> html:


 * Prepare DOM before emitting it from the tree builder
 * Back port latest Sanitizer::validateCodepoint from core
 * Synchronize Sanitizer::setupAttributeWhitelist with core
 * Preserve leading/trailing whitespace on invalid templates
 * Fix a missing case in TokenUtils.tokenTrim
 * T106578, T113194: Ensure PHP and JS are consistent wrt allowed entities
 * Apply urltext optimizations to JavaScript tokenizer

html -> wt:


 * Treat data-parsoid-diff like data-parsoid & data-mw wrt load/store
 * html2wt: Get rid of invalid / unnecessary isString checks
 * WTS: Get rid of unnecessary double-newline normalization
 * Fix onSOL buglet in html2wt introduced by refactor
 * Get rid of the only `nlConstraints.a` use
 * T205338: Create a DOMHandler class to ease porting
 * Let div fallback to html element handler

Other changes:


 * Use `Wt2HtmlResource` and `Html2WtResource` instead of Parser/Serializer
 * Linter: Consistently use lowercase tag names in lintObj params
 * Fix console.assert when running under node >= 0.10
 * T219072: Support splicing more PHP components into the parse pipeline
 * Fix serializing fosterable metas after
 * T219938: Port HTML5Treebuilder and its test suite to PHP
 * T221384, T219943: Update wikipeg to 2.0.2
 * Update to WikiPEG 2.0.3
 * Update shrinkwrap for wikipeg@2.0.3

Monday, Apr. 15, 2019 around 1:30 pm PT: ✅

 * Convert cite extension to es6 class structure
 * Remove DOM level 4 check from DOMPostProcessor
 * Make extensions with post-processors return constructors
 * Various DOMTraverser fixes
 * Port HandleLinkNeighbours handler
 * Convert HTML5TreeBuilder to es6 class structure
 * Fix DOMDataUtils.loadDataAttribs to accept options instead of bool
 * Call domino's HTMLParser.insertToken directly

Wednesday, Apr. 3, 2019 around 1:20 pm PT: ✅

 * T212597: Update lib/config/wmf.sitematrix.json
 * Convert handlers to es6 class structure
 * Simplify addExtLinkClasses DOM pass + port it to PHP
 * Fix bad return in onlyinclude handler
 * DOMTraverser cleanup
 * Organize DOMPostProcessor constructor
 * Changes to JS code while porting to PHP:
 * Transfer pwrap DOM pass from the php-prototype branch
 * T219337: Port tokenizer to PHP
 * Update wikipeg version to 2.0.1
 * Add --trace option to inspectTokenizer.js
 * Resolve superficial token stream differences between JS and PHP
 * Make processors pass phan

Tuesday, Mar. 26, 2019 around 10:28 am PT: ✅

 * Introduce new DOMUtils.{match,has}TypeOf/{match,has}NameAndTypeOf helpers
 * T219023: html2wt: Fix 'isSimpleLink' detection
 * Miscellaneous fixes to entity encoding
 * Use comment encoding for tunnelled fosterable content
 * Restrict reinsertable fostered content to internal metas
 * Let fosterable nodes remain unfostered across serialization boundaries
 * Tokenizer efficiency improvements
 * Audit uses of Node#getAttribute + add missing file to PHP codebase
 * Fix the regex used when looking for extension end tags

Thursday, Mar. 14, 2019 around 10:24 am PT: ✅

 * Update isXMLTag and isExtTag predicates to match their names
 * Consolidate block_tag_opened and xmlish_tag_opened
 * T213950: Fixes external links with special characters roundtrip
 * Refactor getWikiLinkTargetInfo to accept strings instead of KV
 * Address FIXME comments by cloning cache entries before modification

Wednesday, Mar. 13, 2019 around 1:35 pm PT: ✅

 * PEG rule parameters; Switch from pegjs to wikipeg
 * Make transform test runners quiet by default; fix "" handling in KVs
 * Protect data-object-id attribute

Thursday, Mar. 7, 2019 around 10:51 am PT: ✅

 * T202905: Fix new linter category to enable code work with templates
 * Tweak storeDataAttribs to suppress DOM nodes in data-parsoid.tmp
 * TokenHandler.processTokensSync: Dont pass strings to onTag handler

Monday, Mar. 4, 2019 around 2:05 pm PT: ✅

 * Avoid serialize/parse of data attributes when treebuilding
 * T214099: Move language conversion work into lib/parse.js
 * T214099: Move redlink updating into lib/parse.js
 * T202905: Linter.js: Add new function to detect the use of links in links
 * templatedepth is either an int or false
 * Remove redundant dataParsoid call

Tuesday, Feb. 26, 2019 around 10:17 am PT: ✅

 * T204608: Use a bag-on-the-side implementation for node data
 * T214099: Bump num_workers to 3
 * T217093: Use env.createDocument in lib/api/apiUtils.js
 * T214099: Use fork of worker-farm

Wednesday, Feb. 20, 2019 around 1:28 pm PT: ✅

 * Bump content version to 2.1.0
 * T153080, T169975: Add media info in a post-processing pass
 * Remove false assertion that file tokens wouldn't have data-mw
 * T215824: Fix crashers from file in link scenarios
 * Skip separators when looking for the next th/td
 * DOMDataUtils: Remove return statements from setData* utils
 * Assert that the .dataobject isn't touched after storing attrs on a node
 * Add some strategic isElt guards
 * Simplify and clean up stops usage

Monday, Feb. 11, 2019 around 1:25 pm PT: ✅ (deploy-2019-02-11 branch)

 * Minor JS fixes to make conversion to PHP better
 * T208901: Update pwrap.js wrt templatestyles p-wrapping expectations
 * T215537: Reduce the batch size for pageprop requests
 * T213468: PHP section numbers are assigned during tokenization
 * T215638: ListHandler tokens don't need to be special snowflakes either

Wednesday, Feb. 6, 2019 around 1:05 pm PT: ✅

 * Stop producing content version 1.x
 * Move bulk of transformTokens code from SyncTTM to TokenHandler
 * Improve TokenHandler flags for readability
 * Refactor ConstrainedText to make it easier to port
 * Backport some improved comments and function names from PHP port.

Thursday, Jan. 24, 2019 around 3:54 pm PT: ✅

 * T214649, T214648: Revert "Get rid of `nativeGallery` option and enable it by default"
 * Set `nativeGallery` to `false`

Thursday, Jan. 24, 2019 around 11:03 am PT: ✅

 * Convert several files to use an ES6 class structure
 * Remove unnecessary dependency from WikitextSerializer -> escape handlers
 * Handle encoded pipes in link's "alt" option
 * T187958: Match php parser gallery caption parsing
 * Get rid of `nativeGallery` option and enable it by default
 * Eliminate use of prevToken from QuoteTransformer
 * Always pass an actual boolean (not "undefined" or "null") as `sol` option
 * Get rid of unused prevToken arg from token handler signatures
 * T205337: Simplify SyncTTM and handlers
 * T214103: Instrument language variant conversions
 * Work around aggressive exception handling in the tokenizer

Tuesday, Jan. 8, 2019 around 11:00 am PT: ✅

 * T197616: Add test-commons.wikimedia.org
 * Tweak QuoteTransformer code + add edgy test specing prevToken arg
 * T205491: QuoteTransformer quote tokens don't need to be special snowflakes
 * T209772: Add helpers to ease binding context when load/storing data attribs
 * T199926: Remove unnecessary pattern from interwiki checks
 * Simplify DOMUtils.visitDOM helper
 * No need to close over CleanUp.stripMarkerMetas
 * Use escapeIdForExternalInterwiki when rendering interwiki links
 * Remove `figureHandlerImpl`
 * Convert NodeList to Array in `addRedLinksG`
 * Refactor tokenizeSync signature to avoid potentially ignoring args
 * Stop leaking manager (an impl. detail) to extensions

Code refactoring


 * T209194: Export one class per file for various things
 * T204622: Convert various things to use ES6 class syntax
 * Migrate handlers out of DOMPostProcessor into their own files
 * Rename Normalizer to DOMNormalizer and update file name to match