Before commit 5d317c2, this encoding happens in the parser before
calling the ParserAfterTidy hook, at this stage, the input usually
don't contain any raw-text elements, all good;
After commit 5d317c2 but before the core is actively using the
RemexCompatFormatter for OutputTransform, the bug can only be triggered
by extensions. But for now, the transform can happen on every page
with a ToC.
The issue and the fix is similar to T255007 and commit c44a395, which
5d317c2 follows-up to, so I am a bit confused why this stays broken.
Bug: T406391
Change-Id: I41959bf5ee243bdcfba571eb8f121fb571d960db
(cherry picked from commit e928409b4f7a81a8ee02d563c18829d5524e0fa6)
MediaWiki is a free and open-source wiki software package written in PHP. It
serves as the platform for Wikipedia and the other Wikimedia projects, used
by hundreds of millions of people each month. MediaWiki is localised in over
350 languages and its reliability and robust feature set have earned it a large
and vibrant community of third-party users and developers.
MediaWiki is:
feature-rich and extensible, both on-wiki and with hundreds of extensions;
scalable and suitable for both small and large sites;
simple to install, working on most hardware/software combinations; and
available in your language.
For system requirements, installation, and upgrade details, see the files
RELEASE-NOTES, INSTALL, and UPGRADE.
MediaWiki is the result of global collaboration and cooperation. The CREDITS
file lists technical contributors to the project. The COPYING file explains
MediaWiki's copyright and license (GNU General Public License, version 2 or
later). Many thanks to the Wikimedia community for testing and suggestions.