dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RCFilters: Don't grey out results area when initializing, unless there's a default...
[lhc/web/wiklou.git]
/
includes
/
Setup.php
diff --git
a/includes/Setup.php
b/includes/Setup.php
index
ac00fab
..
68e3d96
100644
(file)
--- a/
includes/Setup.php
+++ b/
includes/Setup.php
@@
-282,6
+282,11
@@
foreach ( $wgForeignFileRepos as &$repo ) {
}
unset( $repo ); // no global pollution; destroy reference
}
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
$rcMaxAgeDays = $wgRCMaxAge / ( 3600 * 24 );
if ( $wgRCFilterByAge ) {
// Trim down $wgRCLinkDays so that it only lists links which are valid
@@
-687,7
+692,7
@@
$messageMemc = wfGetMessageCacheStorage();
/**
* @deprecated since 1.30
*/
/**
* @deprecated since 1.30
*/
-$parserMemc = new DeprecatedGlobal( 'parserMemc', function() {
+$parserMemc = new DeprecatedGlobal( 'parserMemc', function
() {
return MediaWikiServices::getInstance()->getParserCache()->getCacheStorage();
}, '1.30' );
return MediaWikiServices::getInstance()->getParserCache()->getCacheStorage();
}, '1.30' );