wiki.techinc.nl/tests/phpunit/integration/includes/parser/Parsoid
daniel e7f21f6e64 HtmlOutputRendererHelper: fall back to page language
HtmlOutputRendererHelper should not crash hard if the ParserOutput has
no language set. ParserOutput may come from a variety of places, we
should be lenient about it not having a language.

However, we should try harder to actually set a language on ParserOutput
if we have one available. So this also updates
PageBundleParserOutputConverter to keep the ParserOutput's language in
sync wit the language header in the PageBundle.

Bug: T349868
Bug: T353689
Bug: T359426
Change-Id: I2edf20dc3b199e22cda2f32bc858c21ca7d8f4bd
2024-03-06 17:18:16 +00:00
..
data/Transform HTMLTransform: do not presume wikitext 2022-09-22 17:41:48 +01:00
HtmlToContentTransformTest.php HtmlToContentTransformTest: Ensure individual defaults with options set 2023-06-28 16:33:58 +03:00
HtmlTransformFactoryTest.php Rename HTMLTransform to HtmlToContentTransform 2022-11-03 16:47:36 +01:00
LanguageVariantConverterTest.php HtmlOutputRendererHelper: fall back to page language 2024-03-06 17:18:16 +00:00
ParsoidParserTest.php [ParserOutput] Make 'enableSectionEditLinks' a ParserOption 2024-02-09 23:42:03 +00:00