From: Max Semenik Date: Tue, 12 Sep 2017 01:28:51 +0000 (-0700) Subject: Make $wgExperimentalHtmlIds fall back on modern HTML5 mode X-Git-Tag: 1.31.0-rc.0~1717^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=63f17fadda741d74021408d117f625d80475af4f;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 );