X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2FSetup.php;h=68e3d96afe489661db5245534f32ed15d22bc1fe;hb=feaf1daca9a0614efd35278e196a0fc18cb381a3;hp=3d5bee2a0810e1b70ab985949facfa071d9a3325;hpb=1a81ba9bcb801de0be82fbd44332dada53800879;p=lhc%2Fweb%2Fwiklou.git 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