From b770956968fbda11b3330056209bc94ba2c914f8 Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Thu, 30 Sep 2021 19:51:13 -0400 Subject: [PATCH] Add $wgParserEnableLegacyMediaDOM to REL1-37 release notes Bug: T51097 Change-Id: Iabc092b643bfb9d6bc90559f230ae6a84f6d544d --- RELEASE-NOTES-1.37 | 7 +++++++ includes/DefaultSettings.php | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES-1.37 b/RELEASE-NOTES-1.37 index 47b3c8242ff..bb5fc9e5793 100644 --- a/RELEASE-NOTES-1.37 +++ b/RELEASE-NOTES-1.37 @@ -29,6 +29,13 @@ For notes on 1.36.x and older releases, see HISTORY. ==== New configuration ==== * $wgBrowserFormatDetection - This setting allows the enabling or disabling of automatic detection of possible phone numbers in a webpage in iOS Safari. +* $wgParserEnableLegacyMediaDOM - This setting defaults to true, and enables + the legacy media HTML structure in the output from the Parser. The + alternative modern HTML structure for media is described at + https://www.mediawiki.org/wiki/Parsing/Media_structure + In a future release of MediaWiki this option will default to false, + so it's a good idea to test this setting on your wiki early and report + any issues. ==== Changed configuration ==== * $wgContentHandlerTextFallback - This migration setting, which defines how to diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index ebdc9a215cf..cbf11b44efd 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -4974,8 +4974,8 @@ $wgAllowImageTag = false; $wgTidyConfig = []; /** - * Enable legacy media HTML structure in the output from the Parser. The one - * that replaces it is described at, + * Enable legacy media HTML structure in the output from the Parser. The + * alternative modern HTML structure that replaces it is described at * https://www.mediawiki.org/wiki/Parsing/Media_structure * @since 1.36 */