'Mediawiki Format',
'description' => 'This is an example format which provides a wikimedia-style input format.',
'pid' => 'new',
'enabled' => true,
'advanced' => true,
'delta' => '0',
'components' => array(
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_prepend',
'settings' => array(
'text' => '',
'step' => 'process',
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_append',
'settings' => array(
'text' => '',
'step' => 'process',
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_chunk_grab',
'settings' => array(
'starts' => '',
'ends' => '',
'pass_limits' => 0,
'case_sensitive' => 0,
'include_rest' => 1,
'step' => 'process',
'components' => array(
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_alternation',
'settings' => array(
'find' => '====',
'replace' => "\n
",
'step' => 'process',
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_alternation',
'settings' => array(
'find' => '===',
'replace' => "\n
",
'step' => 'process',
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_alternation',
'settings' => array(
'find' => '==',
'replace' => "\n
",
'step' => 'process',
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_alternation',
'settings' => array(
'find' => '\'\'\'',
'replace' => "\n",
'step' => 'process',
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_alternation',
'settings' => array(
'find' => '\'\'',
'replace' => "\n",
'step' => 'process',
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_chunk_grab',
'settings' => array(
'starts' => '[[',
'ends' => ']]',
'pass_limits' => 0,
'case_sensitive' => 0,
'include_rest' => 1,
'step' => 'process',
'components' => array(
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_control_if',
'settings' => array(
'components' => array(
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_replace',
'settings' => array(
'find' => '~',
'replace' => '\\~',
'step' => 'process',
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_append',
'settings' => array(
'text' => '~~',
'step' => 'process',
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_advanced_append',
'settings' => array(
'step' => 'process',
'components' => array(
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_replace',
'settings' => array(
'find' => '~~',
'replace' => '',
'step' => 'process',
),
'pid' => 'new',
),
),
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_replace',
'settings' => array(
'find' => '~~',
'replace' => '">',
'step' => 'process',
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_prepend',
'settings' => array(
'text' => ' 'process',
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_replace',
'settings' => array(
'find' => '|',
'replace' => '">',
'step' => 'process',
),
'pid' => 'new',
),
array(
'type' => FLEXIFILTER_COMPONENT,
'class' => 'flexifilter_text_append',
'settings' => array(
'text' => '',
'step' => 'process',
),
'pid' => 'new',
),
),
'condition' => array(
'type' => FLEXIFILTER_CONDITION,
'class' => 'flexifilter_text_search',
'settings' => array(
'find' => '|',
'is_regex' => 0,
),
'pid' => 'new',
),
),
'pid' => 'new',
),
),
),
'pid' => 'new',
),
),
),
'pid' => 'new',
),
),
'fid' => 'new',
),
);
}