X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=761e92830fd54666f9c9b69cc4f41e2398937391;hb=b0df641d31ce0faa4c77db5678ca3c8393778dec;hp=fdac10a53ed41d7d6373be3a29d587690b14e313;hpb=da748c3a91b06be4d938570ef86ec05635e7aed3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index fdac10a53e..761e92830f 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -3792,6 +3792,16 @@ $wgResourceLoaderMaxQueryLength = false; */ $wgResourceLoaderValidateJS = true; +/** + * When enabled, execution of JavaScript modules is profiled client-side. + * + * Instrumentation happens in mw.loader.profiler. + * Use `mw.inspect('time')` from the browser console to display the data. + * + * @since 1.32 + */ +$wgResourceLoaderEnableJSProfiler = false; + /** * Whether ResourceLoader should attempt to persist modules in localStorage on * browsers that support the Web Storage API. @@ -4389,7 +4399,7 @@ $wgPreprocessorCacheThreshold = 1000; $wgEnableScaryTranscluding = false; /** - * Expiry time for transcluded templates cached in transcache database table. + * Expiry time for transcluded templates cached in object cache. * Only used $wgEnableInterwikiTranscluding is set to true. */ $wgTranscludeCacheExpiry = 3600; @@ -6338,8 +6348,6 @@ $wgDeprecationReleaseLimit = false; * Profiler configuration. * * To use a profiler, set $wgProfiler in LocalSetings.php. - * For backwards-compatibility, it is also allowed to set the variable from - * a separate file called StartProfiler.php, which MediaWiki will include. * * Example: * @@ -7998,6 +8006,7 @@ $wgActions = [ 'history' => true, 'info' => true, 'markpatrolled' => true, + 'mcrundo' => McrUndoAction::class, 'protect' => true, 'purge' => true, 'raw' => true, @@ -8834,6 +8843,24 @@ $wgCSPHeader = false; */ $wgCSPReportOnlyHeader = false; +/** + * List of messages which might contain raw HTML. + * Extensions should add their messages here. The list is used for access control: + * changing messages listed here will require editsitecss and editsitejs rights. + * + * Message names must be given with underscores rather than spaces and with lowercase first letter. + * + * @since 1.32 + * @var string[] + */ +$wgRawHtmlMessages = [ + 'copyright', + 'history_copyright', + 'googlesearch', + 'feedback-terms', + 'feedback-termsofuse', +]; + /** * Mapping of event channels (or channel categories) to EventRelayer configuration. * @@ -9001,7 +9028,7 @@ $wgExpiryWidgetNoDatePicker = false; * @since 1.32 * @var int One of the MIGRATION_* constants */ -$wgChangeTagsSchemaMigrationStage = MIGRATION_OLD; +$wgChangeTagsSchemaMigrationStage = MIGRATION_WRITE_BOTH; /** * Temporarily flag to use change_tag_def table as backend of change tag statistics.