From 5de9f19d1011d1ee3dc121a614aee15e940077e5 Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Fri, 3 May 2024 16:41:58 +0800 Subject: [PATCH] fix: disable MobileFrontend HTMLFormatter --- LocalSettings.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/LocalSettings.php b/LocalSettings.php index 301197371069a..17c965e57f99b 100644 --- a/LocalSettings.php +++ b/LocalSettings.php @@ -457,6 +457,9 @@ $wgMFAutodetectMobileView = false; $wgMFMobileHeader = "X-Subdomain"; $wgMFEnableManifest = false; +# disable mobile frontend HTML transform +$wgMFMobileFormatterOptions["maxImages"] = -1; +$wgMFMobileFormatterOptions["maxHeadings"] = -1; # LabeledSectionTransclusion wfLoadExtension('LabeledSectionTransclusion');