HomePhorge

HtmlOutputRendererHelper: fall back to page language

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

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

Details

Provenance
danielAuthored on Mar 4 2024, 8:17 PM
Daniel KinzlerCommitted on Mar 6 2024, 5:18 PM

Event Timeline

Daniel Kinzler <dkinzler@wikimedia.org> committed rMWe7f21f6e6438: HtmlOutputRendererHelper: fall back to page language (authored by daniel <dkinzler@wikimedia.org>).Mar 6 2024, 5:18 PM

Commit No Longer Exists

This commit no longer exists in the repository.