X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FSetup.php;h=68e3d96afe489661db5245534f32ed15d22bc1fe;hp=3d5bee2a0810e1b70ab985949facfa071d9a3325;hb=1e8f417f3d6d648e19c03465890b58a331514362;hpb=a208116fe98dd3fb3975975e6256c532dc1d47b2 diff --git a/includes/Setup.php b/includes/Setup.php index 3d5bee2a08..68e3d96afe 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -282,6 +282,11 @@ foreach ( $wgForeignFileRepos as &$repo ) { } unset( $repo ); // no global pollution; destroy reference +// Convert this deprecated setting to modern system +if ( $wgExperimentalHtmlIds ) { + $wgFragmentMode = [ 'html5-legacy', 'legacy' ]; +} + $rcMaxAgeDays = $wgRCMaxAge / ( 3600 * 24 ); if ( $wgRCFilterByAge ) { // Trim down $wgRCLinkDays so that it only lists links which are valid