wiki.techinc.nl/includes/parser/Parsoid
Derick Alangi 9397a235c9 Loop in more relevant data to parsoid's parser outputs
We need the output content language when fetching HTML in VE
so this needs to match whatever parsoid gives us. In order for
this to happen, we need to loop in more data to the parser output
after parsing. This patch adds that more relevant data and
exposes it via a public method: `getHtmlOutputContentLanguage()`

In addition, this patch fixes a bug that was introduced in the
PageBundleParserOutputConverterTest when setting extension data
on parser output (L#64).
Follow-up: I33076c359ee45719c1c4ef63f77c1f1285951d0c (test fix)

Change-Id: I06bf9f575ed5a2521cf4b2c42fc6e0e7faab6bc0
2022-09-27 13:04:25 +01:00
..
Config parsoid: inject UrlUtils to avoid phpunit failures in SiteConfigTest 2022-08-26 23:39:57 +00:00
HTMLTransform.php Introduce HtmlInputTransformHelper 2022-09-26 12:58:17 +00:00
HTMLTransformFactory.php HTMLTransform: do not presume wikitext 2022-09-22 17:41:48 +01:00
PageBundleJsonTrait.php Introduce PageBundleJsonTrait for serialization 2022-05-23 17:54:48 +01:00
PageBundleParserOutputConverter.php Loop in more relevant data to parsoid's parser outputs 2022-09-27 13:04:25 +01:00
ParsoidOutputAccess.php Merge "Add PageBundleParserOutputConverter" 2022-09-26 13:16:23 +00:00
ParsoidRenderID.php Rest: Migrate parsoid stashing logic from RESTbase 2022-05-23 17:28:29 +01:00
ParsoidServices.php parser: Emit deprecation warnings from ParsoidServices 2022-04-21 18:23:13 +00:00