Parsoid/Deployments

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

For the current train deploy schedule, see MediaWiki 1.36/Roadmap.

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

Aug 4 - Aug 6:

 * Factor out (parser test) TestFileReader that can be used by core; move known failures into Test object
 * T251422 SiteConfig unit tests
 * Improvements to MWSiteConfig, MWDataAccess, MWPageConfig (divergence from bundled VE extension)
 * T259311: Fix incorrect computation of 'inTpl' predicate in HandleLinkNeighbours
 * T259063: Error handling when json_decoding in ParsoidHandler::getParsedBody
 * T257504: Protect against invalid start/end offsets in ParsoidExtensionAPI::renderMedia

July 31 - Aug 3: ❌ Not taken, see T257970
The train for 1.36.0-wmf.2 was rolled back to group 1 due to T259311. New  branch for Parsoid rooted at. The following patch was cherry-picked, and tagged.
 * T259311: Fix incorrect computation of 'inTpl' predicate in HandleLinkNeighbours

July 28 - July 30: ✅

 * T255190 Rewrite sep indent pre suppressing in terms of block scope
 * Cleanup workaround added for TimedMediaTransformOutput::getAPIData
 * (Extension API) Wrap extension token so that it won't be exposed
 * T88495 Add the start of a design doc
 * T110772,T255584: Fix incorrect handling of tpl-span-wrapped text in HandleLinkNeighbors
 * Test for valid data-mw as in DOMDataUtils::validDataMw
 * Refactor ParserTests/Test to allow it to be used by mediawiki-core

July 21 - July 23: ✅

 * ParsoidExtensionAPI: Fix bugs in migrateChildrenBetweenDocs
 * T255190: Get rid of WikitextConstants::$BlockScope(Open|Close)Tags
 * T255190: Get rid of WikitextConstants::$SolSpaceSensitiveTags
 * T234549, T233736: Add a test for serializing when a revision isn't found
 * T234549: Unify revision content checks when starting from wikitext
 * T255190: Get rid of WikitextConstants::$HTML['HTML4BlockTags']
 * T255190: Be precise about why list item ends are implied
 * Remove some porting notes
 * Remove unported JS->PHP file
 * Combine doBlockLevel tags to form a notional wikitextBlockElems
 * T255190: Move doBlockLevel constants to WikitextConstants

July 14 - July 16: ✅

 * T252448: Make wikimedia/langconv optional
 * The Parsoid ConfigRegistry appears to be unused
 * Add missing MediaWiki\Rest\Handler::getParamSettings implementations
 * T255190: Use $onlyInlineElements from Remex when DOM p-wrapping
 * T248343: DRY out default ParsoidSettings into a single location
 * Remove parseExtensionHTML
 * Don't reallocate ExtensionTagHandler while processing ext-tags
 * Fix typo-bug in ParsoidExtensionAPI
 * Collapse heading handlers (gen ids, dedupe ids) into a single pass
 * Reorder DOM post processing passes for a more coherent ordering

July 7 - July 9: ✅

 * T51538: Match core error key for self-closed ref without name
 * Rename "cite_error_ref_no_text" to "cite_error_references_no_text"
 * T51538: Add Cite error for named refs that attempt to redefine the content
 * Remove $nestedRefsHTML
 * Move setting data-mw on autogenerated references to createReferences

June 30 - July 1: ✅

 * Pull out a renderMedia method from the gallery extension
 * Extension API: Use generic 'context' option instead of 'inlineContext'
 * T254051: Match upstream change for margin-inline-start
 * T51538: Adding error handling for cite refs with name but no content
 * Remove HandlePres dom pass
 * Clarify when content is missing in cite
 * T255746: Preserving leading whitespace in indent-pre suppressing contexts
 * Replace assertElt use with phan-var declarations
 * T251920: DOMNormalizer: Don't convert the odd visual newline to

June 23 - June 25: ✅

 * Fix deprecated uses of ParserOptions::newCanonical
 * T255500: Compute DSR info for mw:DisplaySpace
 * T223194, T229740: Replace some instances of DOMUtils::assertElt

June 16 - June 17: ✅

 * Fix deprecated use of getCurrentRevisionCallback
 * HTML5TreeBuilder: Revert now unneeded Remex-bug workarounds + emit transclusion shadow meta at the end of a run of text nodes
 * Fix extensions to use Ext\DOMUtils instead of Utils\DOMUtils
 * Fix wrong var used in PWrap::hasBlockTag
 * T51538: Whitespace only content in tags is no content
 * T210647: Remove now unneeded workarounds for handling empty p tags
 * T245206: html2wt: Newly inserted elements shouldn't disrupt whitespace heuristics
 * T254804, T254646: Renamed terms in comments, code, and filenames.

June 9 - June 11 : ✅

 * T222560, T222770, T222774, T247110: Simplifications and cleanup of several PEG tokenizer rules
 * T197879: Move armoring French spaces to a DOM post-processing pass
 * T233815: html2wt in selser mode: Don't crash on bad DSR
 * T133320: Hook up ExtensionRegistry with Parsoid and related fixes

June 2 - June 4 : ✅

 * T222561: Don't start autolink matching at "/"
 * Remove nodeName check in meta handler
 * T253703: <*include*> tags don't need newlines before/after
 * T51538: Fix Cite extension no name and no content error handling
 * T210647: Add caption to always suppressing
 * Use DOMUtils::hasTypeOf/matchTypeOf/addTypeOf consistently
 * More phpcs related cleanups

May 26 - May 28 : ✅

 * T252648: DOMNormalizer: Fix method signature causing production crashers
 * Remove unnecessary LanguageVariantHandler::set/::has//::delete handers
 * Various phpcs related cleanups

May 12 - May 18 : ✅

 * T249958: Don't add unneeded extra newlines before/after existing lists

May 5 - May 11 : ✅

 * All extension DOM processors should extend Ext\DOMProcessor
 * Add extension registration mechanism to SiteConfig
 * T249740: Bug fix in complex mixed-attr-content multi-template scenarios
 * T250935: Bump version of Remex to v2.2.0 (bump zest and alea as well)
 * T231568: SiteConfig: DRY out common computation of various config properties across subclasses
 * T250888: Move DOMDataUtils::addAttributes to DOMUtils
 * Remove dead code in SiteConfig.php
 * Add accessor methods for trace / dump flags

April 28 - May 4 : ✅

 * T242746: Refactoring and cleanup of extension API, registration, and extension code (multiple patches)
 * T250629: Fix crasher in ParsoidExtensionAPI
 * T192913: html2wt: Fix link regexp to handle parser functions
 * T225849: Don't apply display hack at sol
 * T250111: Don't include .phan/ directory in composer library
 * T247093: Use PHPUtils::unreachable instead of assert(false)
 * Use PHPUtils::jsonEncode consistently
 * AttributeExpander: Code cleanup
 * Fix tokenizer to properly encode attributes needed by QuoteTransformer
 * Enable /page/lint/... endpoint
 * Allow composer/semver ^2.0.0

April 14 - April 16 : ✅

 * T242746: Refactoring and cleanup of extension API and extension code
 * Improve debuggability of non-canonical-DOM assertions
 * Use MediaWikiServices::getBadFileLookup
 * phan-related and tracing-related code cleanup

April 7 - April 9 : ✅

 * T221989: Fix edge case misnested-tag lint detection
 * T242746: Refactoring and cleanup of extension API and extension code (many patches)
 * T246701: Fix (JS -> PHP) porting bug in interwiki computation

March 31 - April 2: ✅

 * T242746: Refactoring and cleanup of extension API and extension code (many patches)
 * T235307: Remove use of Env in the REST API code in extension/* (many patches)
 * T248121: Drop unnecessary style modules in parsoid output

March 23 - March 26: ✅

 * T247910: Allow users to set tabindex=0 on elements
 * Use MediaWikiServices::getRepoGroup
 * T247212: Allow wikimedia/ip-utils 2.0.0
 * T242746: Refactoring extensions interface
 * T247353: Move DataParsoid.php

March 18 - March 19: ✅

 * T238385: Make id attributes not include ascii whitespace per spec
 * T238385: Escape % sign if from valid percent-encoding in fragment identifiers
 * T240055: Ensure Parsoid on scandium executes from git checkout
 * T245627: TemplateData: Handle multibyte unicode characters correctly
 * T237462: Port JSON content-model extension
 * Remove use of Env parameter in Poem extension
 * Use expanded href to test for xmlish tags in wikilink title position
 * T242746: Remove direct access to Sanitizer from extension code
 * Fix minor bugs in AddMediaInfo.php, Gallery, and Sanitizer.php
 * Make extension tags optional in ext-config
 * Bump dependency versions for wikipeg, psr/log, wikimedia/assert, mediawiki/mediawiki-codesniffer, composer/semver, mediawiki-phan-config, ockcyp/covers-validator, mediawiki/minus-x. wikimedia/langconv
 * T242746: Remove more Parsoid internals knowledge from Cite
 * T241164: Sync with Cite
 * T239642: Ensure tests pass in

Monday, Feb. 10 around 1:33 pm PT: ✅

 * T242746: No need to explicitly pass 'inTemplate' flag from extension code
 * T235273: Remove PHPUtils::jsSort call from TemplateHandler and correct tests
 * T235307: Remove Env use from content version resolution functionality
 * Restore return 406 for an incorrect offset type
 * T238845: Fix for request with revID that has no content
 * T204618: Whitelist `aria-hidden` attribute in Sanitizer
 * T240054: Move all code from Parsoid to Wikimedia\Parsoid namespace
 * Update langconv package to 0.3.3
 * T244412, T244413: Corrected PAGE_UNAVAILABLE check for invalid RevID
 * Fix notice when tracing selser
 * T242746: Start untangling Parsoid internals from extensions
 * T242746: Use extension config option for html2wt formatting of extension tags

Wednesday, Feb. 5 around 1:15 pm PT: 74730a3 to be deployed Reverted due to T244413

 * T242746: No need to explicitly pass 'inTemplate' flag from extension code
 * T235273: Remove PHPUtils::jsSort call from TemplateHandler and correct tests
 * T235307: Remove Env use from content version resolution functionality
 * Restore return 406 for an incorrect offset type
 * T238845: Fix for request with revID that has no content
 * T204618: Whitelist `aria-hidden` attribute in Sanitizer
 * T240054: Move all code from Parsoid to Wikimedia\Parsoid namespace
 * Update langconv package to 0.3.3

Wednesday, Jan. 22 around 1:18 pm PT: ✅

 * T242513: Serialize reference tags by themselves on a line
 * Rename DOM handling methods toDOM/fromDOM to reflect reality
 * T243008: Fix PHP Notice when using pb2pb endpoint
 * Refactor Parsoid::html2html into Parsoid::pb2pb
 * T241146: Use DOMDataUtils::getNodeData in MachineLanguageGuesser
 * Remove backward-compatibility code for old-style DOMTraverser handler

Thursday, Jan. 16 around 10:15 am PT: 02f0066 to be deployed Reverted due to T243008

 * Refactor Parsoid::html2html into Parsoid::pb2pb
 * T241146: Use DOMDataUtils::getNodeData in MachineLanguageGuesser
 * Remove backward-compatibility code for old-style DOMTraverser handler

Monday, Jan. 13 around 1:32 pm PT: ✅

 * Clean up DOMTraverser handlers to use new calling convention

Wednesday, Jan. 8 around 1:46 pm PT: ✅

 * Fix 'source variant' functionality; add missing static types to src/Language
 * Cleanup extension arg normalization code
 * html2wt: Account for missing $dsr
 * T238934: html2wt selser: Return http 409 if the previous revision is not found
 * Ensure that SyncTransformManager has correct frame
 * T237318: Ensure Sanitizer::sanitizeToken uses correct frame source text
 * T238022: Fix autolink url parsing code
 * Minor efficiency tweak to Util::lastUniChar
 * Ensure LiFixups::handleLIHack uses correct frame source text
 * T228217: Add --maxdepth option to bin/parse.php
 * ParsoidHandler: Fix throwing ValidationException for invalid domain
 * Make Monolog version match MediaWiki core
 * Fix offset type handling for Lint API requests