/**
* Lazy-loaded options
- * @var callback[]
+ * @var callable[]
*/
private static $lazyOptions = [
'dateformat' => [ __CLASS__, 'initDateFormat' ],
// *UPDATE* ParserOptions::matches() if any of this changes as needed
self::$defaults = [
'dateformat' => null,
- 'tidy' => false,
+ 'tidy' => true,
'interfaceMessage' => false,
'targetLanguage' => null,
'removeComments' => true,
global $wgEnableParserLimitReporting;
return [
- 'tidy' => true,
'enableLimitReport' => $wgEnableParserLimitReporting,
];
}