Line 19: | Line 19: | ||
Here is the current content of the specific filter for the Fedora wiki, in serialized form from the filter's Export function: | Here is the current content of the specific filter for the Fedora wiki, in serialized form from the filter's Export function: | ||
<pre> | <pre> | ||
a:9:{s:5:"label";s:23:"Fedora Mediawiki Format";s:11:"description";s:134:"This filter provides an input format for the Fedora wiki. Use this if you are pasting or writing content that uses Fedora wiki markup.";s:2:"id";s:1:"3";s:7:"enabled";b:1;s:8:"advanced";b:1;s:5:"delta";s:1:"1";s:5:"cache";s:1:"1";s:10:"components";a:10:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:9:"</nowiki>";s:4:"step";s:7:"process";}s:2:"id";s:2:"31";}i:1;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:8:"<nowiki>";s:4:"step";s:7:"process";}s:2:"id";s:2:"32";}i:2;a:3:{s:5:"class";s:22:"flexifilter_chunk_grab";s:8:"settings";a:7:{s:6:"starts";s:5:"<ref>";s:4:"ends";s:6:"</ref>";s:11:"pass_limits";i:0;s:14:"case_sensitive";i:0;s:12:"include_rest";i:1;s:4:"step";s:7:"process";s:10:"components";a:2:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:4:"[fn]";s:4:"step";s:7:"process";}s:2:"id";s:2:"34";}i:1;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:5:"[/fn]";s:4:"step";s:7:"process";}s:2:"id";s:2:"35";}}}s:2:"id";s:2:"33";}i:3;a:3:{s:5:"class";s:42:"flexifilter_existing__footnotes__filter__0";s:8:"settings";a:0:{}s:2:"id";s:2:"36";}i:4;a:3:{s:5:"class";s:22:"flexifilter_chunk_grab";s:8:"settings";a:7:{s:6:"starts";s:9:"</nowiki>";s:4:"ends";s:8:"<nowiki>";s:11:"pass_limits";i:0;s:14:"case_sensitive";i:0;s:12:"include_rest";i:1;s:4:"step";s:7:"process";s:10:"components";a: | a:9:{s:5:"label";s:23:"Fedora Mediawiki Format";s:11:"description";s:134:"This filter provides an input format for the Fedora wiki. Use this if you are pasting or writing content that uses Fedora wiki markup.";s:2:"id";s:1:"3";s:7:"enabled";b:1;s:8:"advanced";b:1;s:5:"delta";s:1:"1";s:5:"cache";s:1:"1";s:10:"components";a:10:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:9:"</nowiki>";s:4:"step";s:7:"process";}s:2:"id";s:2:"31";}i:1;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:8:"<nowiki>";s:4:"step";s:7:"process";}s:2:"id";s:2:"32";}i:2;a:3:{s:5:"class";s:22:"flexifilter_chunk_grab";s:8:"settings";a:7:{s:6:"starts";s:5:"<ref>";s:4:"ends";s:6:"</ref>";s:11:"pass_limits";i:0;s:14:"case_sensitive";i:0;s:12:"include_rest";i:1;s:4:"step";s:7:"process";s:10:"components";a:2:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:4:"[fn]";s:4:"step";s:7:"process";}s:2:"id";s:2:"34";}i:1;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:5:"[/fn]";s:4:"step";s:7:"process";}s:2:"id";s:2:"35";}}}s:2:"id";s:2:"33";}i:3;a:3:{s:5:"class";s:42:"flexifilter_existing__footnotes__filter__0";s:8:"settings";a:0:{}s:2:"id";s:2:"36";}i:4;a:3:{s:5:"class";s:22:"flexifilter_chunk_grab";s:8:"settings";a:7:{s:6:"starts";s:9:"</nowiki>";s:4:"ends";s:8:"<nowiki>";s:11:"pass_limits";i:0;s:14:"case_sensitive";i:0;s:12:"include_rest";i:1;s:4:"step";s:7:"process";s:10:"components";a:8:{i:0;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:5:"=====";s:7:"replace";s:11:"<h5> | ||
</h5>";s:4:"step";s:7:"process";}s:2:"id";s:2:"40";}i:1;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:4:"====";s:7:"replace";s:11:"<h4> | </h5>";s:4:"step";s:7:"process";}s:2:"id";s:2:"40";}i:1;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:4:"====";s:7:"replace";s:11:"<h4> | ||
</h4>";s:4:"step";s:7:"process";}s:2:"id";s:2:"41";}i:2;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:3:"===";s:7:"replace";s:11:"<h3> | </h4>";s:4:"step";s:7:"process";}s:2:"id";s:2:"41";}i:2;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:3:"===";s:7:"replace";s:11:"<h3> | ||
Line 25: | Line 25: | ||
</h2>";s:4:"step";s:7:"process";}s:2:"id";s:2:"43";}i:4;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:3:"'''";s:7:"replace";s:19:"<strong> | </h2>";s:4:"step";s:7:"process";}s:2:"id";s:2:"43";}i:4;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:3:"'''";s:7:"replace";s:19:"<strong> | ||
</strong>";s:4:"step";s:7:"process";}s:2:"id";s:2:"44";}i:5;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:2:"''";s:7:"replace";s:11:"<em> | </strong>";s:4:"step";s:7:"process";}s:2:"id";s:2:"44";}i:5;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:2:"''";s:7:"replace";s:11:"<em> | ||
</em>";s:4:"step";s:7:"process";}s:2:"id";s:2:"45";}i:6;a:3:{s:5:"class";s:22:"flexifilter_chunk_grab";s:8:"settings";a:7:{s:6:"starts";s:2:"[[";s:4:"ends";s:2:"]]";s:11:"pass_limits";i:0;s:14:"case_sensitive";i:0;s:12:"include_rest";i:1;s:4:"step";s:7:"process";s:10:"components";a:2:{i:0;a:3:{s:5:"class";s:22:"flexifilter_control_if";s:8:"settings";a:2:{s:10:"components";a:6:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:1:"~";s:7:"replace";s:2:"\~";s:4:"step";s:7:"process";}s:2:"id";s:2:"48";}i:1;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:2:"~~";s:4:"step";s:7:"process";}s:2:"id";s:2:"49";}i:2;a:3:{s:5:"class";s:27:"flexifilter_advanced_append";s:8:"settings";a:2:{s:4:"step";s:7:"process";s:10:"components";a:1:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:2:"~~";s:7:"replace";s:4:"</a>";s:4:"step";s:7:"process";}s:2:"id";s:2:"51";}}}s:2:"id";s:2:"50";}i:3;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:2:"~~";s:7:"replace";s:2:"">";s:4:"step";s:7:"process";}s:2:"id";s:2:"52";}i:4;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:39:"<a href="http://fedoraproject.org/wiki/";s:4:"step";s:7:"process";}s:2:"id";s:2:"54";}i:5;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:2:"\~";s:7:"replace";s:1:"~";s:4:"step";s:7:"process";}s:2:"id";s:2:"56";}}s:9:"condition";a:2:{s:5:"class";s:21:"flexifilter_group_not";s:8:"settings";a:1:{s:10:"conditions";a:1:{i:0;a:2:{s:5:"class";s:23:"flexifilter_text_search";s:8:"settings";a:2:{s:4:"find";s:1:"|";s:8:"is_regex";i:0;}}}}}}s:2:"id";s:2:"47";}i:1;a:3:{s:5:"class";s:22:"flexifilter_control_if";s:8:"settings";a:2:{s:10:"components";a:3:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:39:"<a href="http://fedoraproject.org/wiki/";s:4:"step";s:7:"process";}s:2:"id";s:2:"61";}i:1;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:1:"|";s:7:"replace";s:2:"">";s:4:"step";s:7:"process";}s:2:"id";s:2:"62";}i:2;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:4:"</a>";s:4:"step";s:7:"process";}s:2:"id";s:2:"63";}}s:9:"condition";a:2:{s:5:"class";s:23:"flexifilter_text_search";s:8:"settings";a:2:{s:4:"find";s:1:"|";s:8:"is_regex";i:0;}}}s:2:"id";s:2:"60";}}}s:2:"id";s:2:"46";}}}s:2:"id";s:2:"39";}i:5;a:3:{s:5:"class";s:39:"flexifilter_existing__filter__filter__1";s:8:"settings";a:0:{}s:2:"id";s:2:" | </em>";s:4:"step";s:7:"process";}s:2:"id";s:2:"45";}i:6;a:3:{s:5:"class";s:22:"flexifilter_chunk_grab";s:8:"settings";a:7:{s:6:"starts";s:2:"[[";s:4:"ends";s:2:"]]";s:11:"pass_limits";i:0;s:14:"case_sensitive";i:0;s:12:"include_rest";i:1;s:4:"step";s:7:"process";s:10:"components";a:2:{i:0;a:3:{s:5:"class";s:22:"flexifilter_control_if";s:8:"settings";a:2:{s:10:"components";a:6:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:1:"~";s:7:"replace";s:2:"\~";s:4:"step";s:7:"process";}s:2:"id";s:2:"48";}i:1;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:2:"~~";s:4:"step";s:7:"process";}s:2:"id";s:2:"49";}i:2;a:3:{s:5:"class";s:27:"flexifilter_advanced_append";s:8:"settings";a:2:{s:4:"step";s:7:"process";s:10:"components";a:1:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:2:"~~";s:7:"replace";s:4:"</a>";s:4:"step";s:7:"process";}s:2:"id";s:2:"51";}}}s:2:"id";s:2:"50";}i:3;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:2:"~~";s:7:"replace";s:2:"">";s:4:"step";s:7:"process";}s:2:"id";s:2:"52";}i:4;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:39:"<a href="http://fedoraproject.org/wiki/";s:4:"step";s:7:"process";}s:2:"id";s:2:"54";}i:5;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:2:"\~";s:7:"replace";s:1:"~";s:4:"step";s:7:"process";}s:2:"id";s:2:"56";}}s:9:"condition";a:2:{s:5:"class";s:21:"flexifilter_group_not";s:8:"settings";a:1:{s:10:"conditions";a:1:{i:0;a:2:{s:5:"class";s:23:"flexifilter_text_search";s:8:"settings";a:2:{s:4:"find";s:1:"|";s:8:"is_regex";i:0;}}}}}}s:2:"id";s:2:"47";}i:1;a:3:{s:5:"class";s:22:"flexifilter_control_if";s:8:"settings";a:2:{s:10:"components";a:3:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:39:"<a href="http://fedoraproject.org/wiki/";s:4:"step";s:7:"process";}s:2:"id";s:2:"61";}i:1;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:1:"|";s:7:"replace";s:2:"">";s:4:"step";s:7:"process";}s:2:"id";s:2:"62";}i:2;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:4:"</a>";s:4:"step";s:7:"process";}s:2:"id";s:2:"63";}}s:9:"condition";a:2:{s:5:"class";s:23:"flexifilter_text_search";s:8:"settings";a:2:{s:4:"find";s:1:"|";s:8:"is_regex";i:0;}}}s:2:"id";s:2:"60";}}}s:2:"id";s:2:"46";}i:7;a:3:{s:5:"class";s:22:"flexifilter_chunk_grab";s:8:"settings";a:7:{s:6:"starts";s:2:"{{";s:4:"ends";s:2:"}}";s:11:"pass_limits";i:0;s:14:"case_sensitive";i:0;s:12:"include_rest";i:1;s:4:"step";s:7:"process";s:10:"components";a:1:{i:0;a:3:{s:5:"class";s:22:"flexifilter_control_if";s:8:"settings";a:2:{s:10:"components";a:3:{i:0;a:3:{s:5:"class";s:22:"flexifilter_text_regex";s:8:"settings";a:3:{s:4:"find";s:8:"^[^|]*\|";s:7:"replace";s:0:"";s:4:"step";s:7:"process";}s:2:"id";s:2:"67";}i:1;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:25:"<span class="anchor" id="";s:4:"step";s:7:"process";}s:2:"id";s:2:"68";}i:2;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:9:""></span>";s:4:"step";s:7:"process";}s:2:"id";s:2:"69";}}s:9:"condition";a:2:{s:5:"class";s:23:"flexifilter_text_search";s:8:"settings";a:2:{s:4:"find";s:10:"^[Aa]nchor";s:8:"is_regex";i:1;}}}s:2:"id";s:2:"66";}}}s:2:"id";s:2:"65";}}}s:2:"id";s:2:"39";}i:5;a:3:{s:5:"class";s:39:"flexifilter_existing__filter__filter__1";s:8:"settings";a:0:{}s:2:"id";s:2:"71";}i:6;a:3:{s:5:"class";s:39:"flexifilter_existing__filter__filter__0";s:8:"settings";a:4:{s:13:"filter_html_1";s:1:"1";s:14:"allowed_html_1";s:36:"a p h2 h3 h4 h5 ul ol li br span div";s:18:"filter_html_help_1";i:0;s:22:"filter_html_nofollow_1";i:0;}s:2:"id";s:3:"218";}i:7;a:3:{s:5:"class";s:43:"flexifilter_existing__footnotes__filter__99";s:8:"settings";a:1:{s:29:"footnotes_filter_url_length_1";s:3:"256";}s:2:"id";s:3:"286";}s:7:"id_next";i:374;s:9:"id_prefix";s:22:"flexifilter_component_";}s:3:"fid";s:3:"new";} | ||
</pre> | </pre> | ||
Revision as of 15:33, 4 September 2010
This page tracks the setup of content (call it content architecture if you like) for the Fedora Insight system.
There's another page about more general Insight customizations to Drupal.
Taxonomy
Releases
The Releases taxonomy uses the identification F13, F14, and so on for its terms. For each term, a set of synonyms are used to catch alternate forms of tagging. Here's an example of how to enter each:
- Identification: F13
- Description: Fedora 13 (Goddard)
- Advanced options:
- Parents: none
- Related: none
- Synonyms (one per line): Fedora 13, Fedora13, fedora13, Fedora-13, fedora-13, F-13, f13, f-13, Goddard, goddard
Flexifilter
Here is the current content of the specific filter for the Fedora wiki, in serialized form from the filter's Export function:
a:9:{s:5:"label";s:23:"Fedora Mediawiki Format";s:11:"description";s:134:"This filter provides an input format for the Fedora wiki. Use this if you are pasting or writing content that uses Fedora wiki markup.";s:2:"id";s:1:"3";s:7:"enabled";b:1;s:8:"advanced";b:1;s:5:"delta";s:1:"1";s:5:"cache";s:1:"1";s:10:"components";a:10:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:9:"</nowiki>";s:4:"step";s:7:"process";}s:2:"id";s:2:"31";}i:1;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:8:"";s:4:"step";s:7:"process";}s:2:"id";s:2:"32";}i:2;a:3:{s:5:"class";s:22:"flexifilter_chunk_grab";s:8:"settings";a:7:{s:6:"starts";s:5:"<ref>";s:4:"ends";s:6:"</ref>";s:11:"pass_limits";i:0;s:14:"case_sensitive";i:0;s:12:"include_rest";i:1;s:4:"step";s:7:"process";s:10:"components";a:2:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:4:"[fn]";s:4:"step";s:7:"process";}s:2:"id";s:2:"34";}i:1;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:5:"[/fn]";s:4:"step";s:7:"process";}s:2:"id";s:2:"35";}}}s:2:"id";s:2:"33";}i:3;a:3:{s:5:"class";s:42:"flexifilter_existing__footnotes__filter__0";s:8:"settings";a:0:{}s:2:"id";s:2:"36";}i:4;a:3:{s:5:"class";s:22:"flexifilter_chunk_grab";s:8:"settings";a:7:{s:6:"starts";s:9:"";s:4:"ends";s:8:"<nowiki>";s:11:"pass_limits";i:0;s:14:"case_sensitive";i:0;s:12:"include_rest";i:1;s:4:"step";s:7:"process";s:10:"components";a:8:{i:0;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:5:"=====";s:7:"replace";s:11:"<h5> </h5>";s:4:"step";s:7:"process";}s:2:"id";s:2:"40";}i:1;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:4:"====";s:7:"replace";s:11:"<h4> </h4>";s:4:"step";s:7:"process";}s:2:"id";s:2:"41";}i:2;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:3:"===";s:7:"replace";s:11:"<h3> </h3>";s:4:"step";s:7:"process";}s:2:"id";s:2:"42";}i:3;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:2:"==";s:7:"replace";s:11:"<h2> </h2>";s:4:"step";s:7:"process";}s:2:"id";s:2:"43";}i:4;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:3:"'''";s:7:"replace";s:19:"<strong> </strong>";s:4:"step";s:7:"process";}s:2:"id";s:2:"44";}i:5;a:3:{s:5:"class";s:28:"flexifilter_text_alternation";s:8:"settings";a:3:{s:4:"find";s:2:"''";s:7:"replace";s:11:"<em> </em>";s:4:"step";s:7:"process";}s:2:"id";s:2:"45";}i:6;a:3:{s:5:"class";s:22:"flexifilter_chunk_grab";s:8:"settings";a:7:{s:6:"starts";s:2:"[[";s:4:"ends";s:2:"]]";s:11:"pass_limits";i:0;s:14:"case_sensitive";i:0;s:12:"include_rest";i:1;s:4:"step";s:7:"process";s:10:"components";a:2:{i:0;a:3:{s:5:"class";s:22:"flexifilter_control_if";s:8:"settings";a:2:{s:10:"components";a:6:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:1:"~";s:7:"replace";s:2:"\~";s:4:"step";s:7:"process";}s:2:"id";s:2:"48";}i:1;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:2:"~~";s:4:"step";s:7:"process";}s:2:"id";s:2:"49";}i:2;a:3:{s:5:"class";s:27:"flexifilter_advanced_append";s:8:"settings";a:2:{s:4:"step";s:7:"process";s:10:"components";a:1:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:2:"~~";s:7:"replace";s:4:"</a>";s:4:"step";s:7:"process";}s:2:"id";s:2:"51";}}}s:2:"id";s:2:"50";}i:3;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:2:"~~";s:7:"replace";s:2:"">";s:4:"step";s:7:"process";}s:2:"id";s:2:"52";}i:4;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:39:"<a href="http://fedoraproject.org/wiki/";s:4:"step";s:7:"process";}s:2:"id";s:2:"54";}i:5;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:2:"\~";s:7:"replace";s:1:"~";s:4:"step";s:7:"process";}s:2:"id";s:2:"56";}}s:9:"condition";a:2:{s:5:"class";s:21:"flexifilter_group_not";s:8:"settings";a:1:{s:10:"conditions";a:1:{i:0;a:2:{s:5:"class";s:23:"flexifilter_text_search";s:8:"settings";a:2:{s:4:"find";s:1:"|";s:8:"is_regex";i:0;}}}}}}s:2:"id";s:2:"47";}i:1;a:3:{s:5:"class";s:22:"flexifilter_control_if";s:8:"settings";a:2:{s:10:"components";a:3:{i:0;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:39:"<a href="http://fedoraproject.org/wiki/";s:4:"step";s:7:"process";}s:2:"id";s:2:"61";}i:1;a:3:{s:5:"class";s:24:"flexifilter_text_replace";s:8:"settings";a:3:{s:4:"find";s:1:"|";s:7:"replace";s:2:"">";s:4:"step";s:7:"process";}s:2:"id";s:2:"62";}i:2;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:4:"</a>";s:4:"step";s:7:"process";}s:2:"id";s:2:"63";}}s:9:"condition";a:2:{s:5:"class";s:23:"flexifilter_text_search";s:8:"settings";a:2:{s:4:"find";s:1:"|";s:8:"is_regex";i:0;}}}s:2:"id";s:2:"60";}}}s:2:"id";s:2:"46";}i:7;a:3:{s:5:"class";s:22:"flexifilter_chunk_grab";s:8:"settings";a:7:{s:6:"starts";s:2:"{{";s:4:"ends";s:2:"}}";s:11:"pass_limits";i:0;s:14:"case_sensitive";i:0;s:12:"include_rest";i:1;s:4:"step";s:7:"process";s:10:"components";a:1:{i:0;a:3:{s:5:"class";s:22:"flexifilter_control_if";s:8:"settings";a:2:{s:10:"components";a:3:{i:0;a:3:{s:5:"class";s:22:"flexifilter_text_regex";s:8:"settings";a:3:{s:4:"find";s:8:"^[^|]*\|";s:7:"replace";s:0:"";s:4:"step";s:7:"process";}s:2:"id";s:2:"67";}i:1;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:25:"<span class="anchor" id="";s:4:"step";s:7:"process";}s:2:"id";s:2:"68";}i:2;a:3:{s:5:"class";s:23:"flexifilter_text_append";s:8:"settings";a:2:{s:4:"text";s:9:""></span>";s:4:"step";s:7:"process";}s:2:"id";s:2:"69";}}s:9:"condition";a:2:{s:5:"class";s:23:"flexifilter_text_search";s:8:"settings";a:2:{s:4:"find";s:10:"^[Aa]nchor";s:8:"is_regex";i:1;}}}s:2:"id";s:2:"66";}}}s:2:"id";s:2:"65";}}}s:2:"id";s:2:"39";}i:5;a:3:{s:5:"class";s:39:"flexifilter_existing__filter__filter__1";s:8:"settings";a:0:{}s:2:"id";s:2:"71";}i:6;a:3:{s:5:"class";s:39:"flexifilter_existing__filter__filter__0";s:8:"settings";a:4:{s:13:"filter_html_1";s:1:"1";s:14:"allowed_html_1";s:36:"a p h2 h3 h4 h5 ul ol li br span div";s:18:"filter_html_help_1";i:0;s:22:"filter_html_nofollow_1";i:0;}s:2:"id";s:3:"218";}i:7;a:3:{s:5:"class";s:43:"flexifilter_existing__footnotes__filter__99";s:8:"settings";a:1:{s:29:"footnotes_filter_url_length_1";s:3:"256";}s:2:"id";s:3:"286";}s:7:"id_next";i:374;s:9:"id_prefix";s:22:"flexifilter_component_";}s:3:"fid";s:3:"new";}
Installing the flexifilter
- Import this filter as a new filter called Fedora Mediawiki Format.
- In Site configuration > Input formats, choose Add input format. Name the new input format Fedora wiki text.
- Enable this input format only for people in the CMS groups (writers, editors, administrators). Do not enable it for anonymous or simple authenticated users.
- Enable the Footnotes and Fedora Mediawiki Format filters for this input format. Ensure the HTML Filter filter is also enabled for this format.
- Test the filter by making a content node that uses wiki markup. The flexifilter handles the following types of wiki markup:
Wiki markup Generated HTML == Heading 2 == <h2>Heading 2</h2> === Heading 3 === <h3>Heading 3</h3> ==== Heading 4 ==== <h4>Heading 4</h4> ===== Heading 5 ===== <h5>Heading 5</h5> [[Some page]] <a href="http://fedoraproject.org/wiki/Some page">Some page</a> [[Some page|link]] <a href="http://fedoraproject.org/wiki/Some page">link</a> Blank lines <br/> or <p>...</p> elements <ref>...</ref> Footnotes, one set per Drupal node