Steps to replicate the issue (include links if applicable):
- Somehow misconfigure a local MediaWiki to trig this kind of internal error raised from this part of the code, https://github.com/wikimedia/mediawiki/blob/master/includes/exception/MWExceptionRenderer.php#L217
- Use an RTL language like Persian for the interface or append ?uselang=fa
What happens?:
English text but in RTL
What should have happened instead?:
LTR content
Software version: 6724bb6a90076d7423c29dc4a2827b2ef27d60a3
If shouldShowExceptionDetails is disabled currently it shows the following despite having mw-content-ltr
Which as it has an RTL text it's shouldn't be LTR so the patch actually removes mw-content-ltr at least in vector-2022 where mw-content-{ltr,rtl} are no effect as T287701 which even if it had any effect it wasn't needed.
Patch is coming