__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; $wgParsoidSettings['rtTestMode'] = 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; // Disabled for now so porting the dev api isn't on the critical path // These endpoints are occasionally useful while investigating rt testing // diffs on the server. // $wgParsoidSettings['devAPI'] = true; $wgParsoidSettings['metricsPrefix'] = 'Parsoid-Tests.';