__DIR__ . "/../src" ] ); // When Parsoid is enabled in production context, this will // have already been configured. if ( !isset( $wgParsoidSettings ) ) { // Temporarily enable all these defaults $wgParsoidSettings = []; } // Override Parsoid-specific settings for rt-testing. $wgParsoidSettings['useSelser'] = true; // Linting during rt testing is useful to catch errors and crashers, // but we don't want to save lints to the production db. $wgParsoidSettings['linting'] = (bool)$wgReadOnly; $wgParsoidSettings['metricsPrefix'] = 'Parsoid-Tests.';