From 63f17fadda741d74021408d117f625d80475af4f Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Mon, 11 Sep 2017 18:28:51 -0700 Subject: [PATCH] Make $wgExperimentalHtmlIds fall back on modern HTML5 mode This is a first step of deprecation, next would be to swap the two modes, making html5 fall back on html5-legacy. No separate release notes are required as this is part of deprecation already documented. Change-Id: I132cffbc70bf76f9863d61fd109c73da7bdaeb18 --- includes/Setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Setup.php b/includes/Setup.php index 68e3d96afe..d4612dd2c6 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -284,7 +284,7 @@ unset( $repo ); // no global pollution; destroy reference // Convert this deprecated setting to modern system if ( $wgExperimentalHtmlIds ) { - $wgFragmentMode = [ 'html5-legacy', 'legacy' ]; + $wgFragmentMode = [ 'html5-legacy', 'html5' ]; } $rcMaxAgeDays = $wgRCMaxAge / ( 3600 * 24 ); -- 2.20.1