$wgVerifyMimeType = true;
/**
- * Sets the MIME type definition file to use by MimeMagic.php.
+ * Sets the MIME type definition file to use by includes/libs/mime/MimeAnalyzer.php.
* Set to null, to use built-in defaults only.
* example: $wgMimeTypeFile = '/etc/mime.types';
*/
$wgMimeTypeFile = 'includes/mime.types';
/**
- * Sets the MIME type info file to use by MimeMagic.php.
+ * Sets the MIME type info file to use by includes/libs/mime/MimeAnalyzer.php.
* Set to null, to use built-in defaults only.
*/
$wgMimeInfoFile = 'includes/mime.info';
/**
* MySQL table options to use during installation or update
*/
-$wgDBTableOptions = 'ENGINE=InnoDB';
+$wgDBTableOptions = 'ENGINE=InnoDB, DEFAULT CHARSET=binary';
/**
* SQL Mode - default is turning off all modes, including strict, if set.
* library; historically, Dave Raggett's "HTML Tidy" was typically used.
* See https://www.w3.org/People/Raggett/tidy/
*
+ * Setting this to null is deprecated.
+ *
* If this is null and $wgUseTidy is true, the deprecated configuration
* parameters will be used instead.
*
* If this is null and $wgUseTidy is false, a pure PHP fallback will be used.
+ * (Equivalent to setting `$wgTidyConfig['driver'] = 'disabled'`.)
*
* Keys are:
* - driver: May be:
+ * - RemexHtml: Use the RemexHtml library in PHP
* - RaggettInternalHHVM: Use the limited-functionality HHVM extension
+ * Deprecated since 1.32.
* - RaggettInternalPHP: Use the PECL extension
+ * Deprecated since 1.32.
* - RaggettExternal: Shell out to an external binary (tidyBin)
- * - RemexHtml: Use the RemexHtml library in PHP
+ * Deprecated since 1.32.
+ * - disabled: Disable tidy pass and use a hacky pure PHP workaround
+ * (this is what setting $wgUseTidy to false used to do)
+ * Deprecated since 1.32.
*
* - tidyConfigFile: Path to configuration file for any of the Raggett drivers
* - debugComment: True to add a comment to the output with warning messages
/**
* Set this to true to use the deprecated tidy configuration parameters.
- * @deprecated use $wgTidyConfig
+ * @deprecated since 1.26, use $wgTidyConfig['driver'] = 'disabled'
*/
$wgUseTidy = false;
/**
* The path to the tidy binary.
- * @deprecated Use $wgTidyConfig['tidyBin']
+ * @deprecated since 1.26, use $wgTidyConfig['tidyBin']
*/
$wgTidyBin = 'tidy';
/**
* The path to the tidy config file
- * @deprecated Use $wgTidyConfig['tidyConfigFile']
+ * @deprecated since 1.26, use $wgTidyConfig['tidyConfigFile']
*/
$wgTidyConf = $IP . '/includes/tidy/tidy.conf';
/**
* The command line options to the tidy binary
- * @deprecated Use $wgTidyConfig['tidyCommandLine']
+ * @deprecated since 1.26, use $wgTidyConfig['tidyCommandLine']
*/
$wgTidyOpts = '';
/**
* Set this to true to use the tidy extension
- * @deprecated Use $wgTidyConfig['driver']
+ * @deprecated since 1.26, use $wgTidyConfig['driver']
*/
$wgTidyInternal = extension_loaded( 'tidy' );
/**
* Put tidy warnings in HTML comments
* Only works for internal tidy.
+ * @deprecated since 1.26, use $wgTidyConfig['debugComment']
*/
$wgDebugTidy = false;
*/
$wgUseRCPatrol = true;
-/**
- * Whether a preference is displayed for structured change filters.
- * If false, no preference is displayed and structured change filters are disabled.
- * If true, structured change filters are *enabled* by default, and a preference is displayed
- * that lets users disable them.
- *
- * Temporary variable during development and will be removed.
- *
- * @since 1.30
- */
-$wgStructuredChangeFiltersShowPreference = false;
-
-/**
- * Whether a preference is displayed for structured change filters on watchlist.
- * Works just like $wgStructuredChangeFiltersShowPreference.
- *
- * Temporary variable during development and will be removed
- * @since 1.32
- */
-$wgStructuredChangeFiltersShowWatchlistPreference = false;
-
-/**
- * Whether to enable RCFilters app on Special:Watchlist
- *
- * Temporary variable during development and will be removed.
- */
-$wgStructuredChangeFiltersOnWatchlist = false;
-
/**
* Polling rate, in seconds, used by the 'live update' and 'view newest' features
* of the RCFilters app on SpecialRecentChanges and Special:Watchlist.
'info' => true,
'markpatrolled' => true,
'mcrundo' => McrUndoAction::class,
+ 'mcrrestore' => McrRestoreAction::class,
'protect' => true,
'purge' => true,
'raw' => true,