// see https://www.mediawiki.org/wiki/Extension:Flow
$wgFlowAjaxTimeout = 90; // Seconds

$wgFlowEventLogging = true;
$wgFlowServerCompileTemplates = true; // always recompile in dev mode
$wgFlowContentFormat = 'html'; // Parsoid dependency

$wgExtraNamespaces[190] = 'Flow_test';
$wgExtraNamespaces[191] = 'Flow_test_talk';
$wgNamespacesWithSubpages[190] = true;
$wgNamespacesWithSubpages[191] = true;

$wgFlowOccupyPages = array (
	'Talk:Flow QA', // used by Flow extension's browser tests
	'Talk:Sandbox',
);
$wgFlowOccupyNamespaces = array( NS_USER_TALK, 191 );

$wgFlowParsoidURL = 'http://localhost:<%= scope['mediawiki::parsoid::port'] %>';
$wgFlowParsoidPrefix = 'localhost';
$wgFlowParsoidTimeout = 100;

$wgGroupPermissions['autoconfirmed']['flow-edit-post'] = true;
$wgGroupPermissions['sysop']['flow-create-board'] = true;
$wgGroupPermissions['sysop']['flow-suppress'] = true;

$wgDebugLogGroups['Flow'] = '/vagrant/logs/mediawiki-Flow.log';


// see https://www.mediawiki.org/wiki/Extension:Flow
$wgFlowAjaxTimeout = 90; // Seconds

$wgFlowEventLogging = true;
$wgFlowServerCompileTemplates = true; // always recompile in dev mode
$wgFlowContentFormat = 'html'; // Parsoid dependency

define( 'NS_FLOW_TEST', 190 );
define( 'NS_FLOW_TEST_TALK', 191 );

$wgExtraNamespaces[ NS_FLOW_TEST ] = 'Flow_test';
$wgExtraNamespaces[ NS_FLOW_TEST_TALK ] = 'Flow_test_talk';
$wgNamespacesWithSubpages[ NS_FLOW_TEST ] = true;
$wgNamespacesWithSubpages[ NS_FLOW_TEST_TALK ] = true;

$wgNamespaceContentModels[ NS_FLOW_TEST_TALK ] = CONTENT_MODEL_FLOW_BOARD;

$wgFlowEnableOptInBetaFeature = true;

$wgFlowParsoidURL = 'http://localhost:<%= scope['mediawiki::parsoid::port'] %>';
$wgFlowParsoidPrefix = 'localhost';
$wgFlowParsoidTimeout = 100;

$wgGroupPermissions['autoconfirmed']['flow-edit-post'] = true;
$wgGroupPermissions['sysop']['flow-create-board'] = true;
$wgGroupPermissions['sysop']['flow-suppress'] = true;

$wgDebugLogGroups['Flow'] = '/vagrant/logs/mediawiki-Flow.log';

Use wgNamespaceContentModels instead of wgFlowOccupyNamespaces
Use wgNamespaceContentModels instead of wgFlowOccupyNamespaces

* Enable Flow on NS_FLOW_TEST_TALK

* Enable Flow on talk page beta feature by default
  instead of enabling on NS_USER_TALK,
  because dogfooding :)

Bug: T109553
Change-Id: I42e2343c5f248371787589c7c62ee117681a8257
