$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;
* 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:
*
* @code
* $wgMessagesDirs['Example'] = [
* __DIR__ . '/lib/ve/i18n',
- * __DIR__ . '/lib/oojs-ui/i18n',
+ * __DIR__ . '/lib/ooui/i18n',
* __DIR__ . '/i18n',
* ]
* @endcode
*/
$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.
*
* @since 1.32
* @var int An appropriate combination of SCHEMA_COMPAT_XXX flags.
*/
-$wgMultiContentRevisionSchemaMigrationStage = SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_OLD;
+$wgMultiContentRevisionSchemaMigrationStage = SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW;
/**
* Actor table schema migration stage.
* @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.