From Fedora Project Wiki

No edit summary
(Updated view configuration.)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page tracks the setup of content (call it content architecture if you like) for the [[Fedora Insight]] system.
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]].
== Content types ==
=== FWN beat ===
Here is the current fwn beat content type, click "import" on admin/content/types/ to import this type.
<pre>
$content['type']  = array (
  'name' => 'Weekly news beat',
  'type' => 'fwnbeat',
  'description' => 'A single "beat" or topical area in the Fedora Weekly News',
  'title_label' => 'Title',
  'body_label' => 'Body',
  'min_word_count' => '0',
  'help' => '',
  'node_options' =>
  array (
    'status' => false,
    'promote' => false,
    'sticky' => false,
    'revision' => false,
  ),
  'language_content_type' => '0',
  'old_type' => 'fwnbeat',
  'orig_type' => '',
  'module' => 'node',
  'custom' => '1',
  'modified' => '1',
  'locked' => '0',
  'comment' => '2',
  'comment_default_mode' => '4',
  'comment_default_order' => '1',
  'comment_default_per_page' => '50',
  'comment_controls' => '3',
  'comment_anonymous' => 0,
  'comment_subject_field' => '1',
  'comment_preview' => '1',
  'comment_form_location' => '0',
  'ant' => '1',
  'ant_pattern' => '[field_issue-raw]-[field_beat-raw]',
  'auto_nodetitle_php' => 0,
  'i18n_newnode_current' => 0,
  'i18n_required_node' => 0,
  'i18n_lock_node' => 0,
  'i18n_node' => 1,
  'i18nsync_nodeapi' =>
  array (
    'name' => false,
    'status' => false,
    'promote' => false,
    'moderate' => false,
    'sticky' => false,
    'revision' => false,
    'parent' => false,
    'taxonomy' => false,
    'comment' => false,
    'field_issue' => false,
    'field_beat' => false,
  ),
);
$content['fields']  = array (
  0 =>
  array (
    'label' => 'Issue',
    'field_name' => 'field_issue',
    'type' => 'number_integer',
    'widget_type' => 'number',
    'change' => 'Change basic information',
    'weight' => '5',
    'description' => '',
    'default_value' =>
    array (
      0 =>
      array (
        'value' => '',
        '_error_element' => 'default_value_widget][field_issue][0][value',
      ),
    ),
    'default_value_php' => '',
    'default_value_widget' => NULL,
    'group' => false,
    'required' => 1,
    'multiple' => '0',
    'min' => '',
    'max' => '',
    'prefix' => '',
    'suffix' => '',
    'allowed_values' => '',
    'op' => 'Save field settings',
    'module' => 'number',
    'widget_module' => 'number',
    'columns' =>
    array (
      'value' =>
      array (
        'type' => 'int',
        'not null' => false,
        'sortable' => true,
      ),
    ),
    'display_settings' =>
    array (
      'weight' => '5',
      'parent' => '',
      'label' =>
      array (
        'format' => 'hidden',
      ),
      'teaser' =>
      array (
        'format' => 'hidden',
        'exclude' => 0,
      ),
      'full' =>
      array (
        'format' => 'hidden',
        'exclude' => 0,
      ),
      5 =>
      array (
        'format' => 'default',
        'exclude' => 0,
      ),
      4 =>
      array (
        'format' => 'default',
        'exclude' => 0,
      ),
    ),
  ),
  1 =>
  array (
    'label' => 'Beat',
    'field_name' => 'field_beat',
    'type' => 'text',
    'widget_type' => 'optionwidgets_select',
    'change' => 'Change basic information',
    'weight' => '6',
    'description' => '',
    'default_value' =>
    array (
      0 =>
      array (
        'value' => '',
      ),
    ),
    'default_value_php' => '',
    'default_value_widget' =>
    array (
      'field_beat' =>
      array (
        'value' => '',
      ),
    ),
    'group' => false,
    'required' => 1,
    'multiple' => '0',
    'text_processing' => '0',
    'max_length' => '',
    'allowed_values' => 'Introduction
Announcements
Planet Fedora
Fedora In The News
Ambassadors
Quality Assurance
Marketing
Design
Translation
Security Advisories
KDE',
    'op' => 'Save field settings',
    'module' => 'text',
    'widget_module' => 'optionwidgets',
    'columns' =>
    array (
      'value' =>
      array (
        'type' => 'text',
        'size' => 'big',
        'not null' => false,
        'sortable' => true,
        'views' => true,
      ),
    ),
    'display_settings' =>
    array (
      'weight' => '6',
      'parent' => '',
      'label' =>
      array (
        'format' => 'hidden',
      ),
      'teaser' =>
      array (
        'format' => 'hidden',
        'exclude' => 0,
      ),
      'full' =>
      array (
        'format' => 'hidden',
        'exclude' => 0,
      ),
      5 =>
      array (
        'format' => 'default',
        'exclude' => 0,
      ),
      4 =>
      array (
        'format' => 'default',
        'exclude' => 0,
      ),
    ),
  ),
);
$content['extra']  = array (
  'title' => '16',
  'body_field' => '8',
  'revision_information' => '11',
  'author' => '10',
  'options' => '12',
  'comment_settings' => '13',
  'menu' => '7',
  'book' => '9',
);
</pre>


== Taxonomy ==
== Taxonomy ==
Line 14: Line 240:
** ''Synonyms'' (one per line): Fedora 13, Fedora13, fedora13, Fedora-13, fedora-13, F-13, f13, f-13, Goddard, goddard
** ''Synonyms'' (one per line): Fedora 13, Fedora13, fedora13, Fedora-13, fedora-13, F-13, f13, f-13, Goddard, goddard


== Flexifilters ==
== Flexifilter ==


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:6:{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: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>
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:"34";}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:"35";}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>
</h3>";s:4:"step";s:7:"process";}s:2:"id";s:2:"36";}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>
</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:"37";}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:"38";}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:"39";}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:"42";}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:"43";}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:"45";}}}s:2:"id";s:2:"44";}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:"46";}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:"48";}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:"50";}}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:"41";}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:"55";}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:"56";}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:"57";}}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:"54";}}}s:2:"id";s:2:"40";}i:7;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:1:{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:"61";}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:"62";}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:"64";}}}s:2:"id";s:2:"63";}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:"65";}i:4;a:3:{s:5:"class";s:24:"flexifilter_text_prepend";s:8:"settings";a:2:{s:4:"text";s:9:"<a href="";s:4:"step";s:7:"process";}s:2:"id";s:2:"67";}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:"69";}}s:9:"condition";a:2:{s:5:"class";s:23:"flexifilter_text_search";s:8:"settings";a:2:{s:4:"find";s:7:"http://";s:8:"is_regex";i:1;}}}s:2:"id";s:2:"60";}}}s:2:"id";s:2:"59";}}}s:2:"id";s:2:"33";}i:3;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:0:"";s:18:"filter_html_help_1";i:0;s:22:"filter_html_nofollow_1";i:0;}s:2:"id";s:2:"72";}s:7:"id_next";i:111;s:9:"id_prefix";s:22:"flexifilter_component_";}s:3:"fid";s:3:"new";}
</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>
 
=== Installing the flexifilter ===
<ol><li>Import this filter as a new filter called ''Fedora Mediawiki Format''.</li>
<li>In ''Site configuration'' > ''Input formats'', choose ''Add input format''. Name the new input format ''Fedora wiki text''.</li>
<li>Enable this input format only for people in the CMS groups (writers, editors, administrators). Do not enable it for anonymous or simple authenticated users.</li>
<li>Enable the ''Footnotes'' and ''Fedora Mediawiki Format'' filters for this input format. Ensure the ''HTML Filter'' filter is also enabled for this format.</li>
<li>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
|-
| <nowiki>== Heading 2 ==</nowiki> || <nowiki><h2>Heading 2</h2></nowiki>
|-
| <nowiki>=== Heading 3 ===</nowiki> || <nowiki><h3>Heading 3</h3></nowiki>
|-
| <nowiki>==== Heading 4 ====</nowiki> || <nowiki><h4>Heading 4</h4></nowiki>
|-
| <nowiki>===== Heading 5 =====</nowiki> || <nowiki><h5>Heading 5</h5></nowiki>
|-
| <nowiki>[[Some page]]</nowiki> || <nowiki><a href="http://fedoraproject.org/wiki/Some page">Some page</a></nowiki>
|-
| <nowiki>[[Some page|link]]</nowiki> || <nowiki><a href="http://fedoraproject.org/wiki/Some page">link</a></nowiki>
|-
| Blank lines || <nowiki><br/></nowiki> or <nowiki><p>...</p></nowiki> elements
|-
| <nowiki><ref>...</ref></nowiki> || Footnotes, one set per Drupal node
|-
| <nowiki>{{Anchor|name}}</nowiki> || <nowiki><span class="anchor" id="name"></span></nowiki>
|}
</li></ol>
 
== Views ==
 
=== Moderation queue view ===
 
Here is the current moderation queue view. Click "import" on admin/build/views to import this view.
 
<pre>
$view = new view;
$view->name = 'admin_content';
$view->description = 'Emulates the Drupal content administration page.';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Default', 'default');
$handler->override_option('fields', array(
  'title' => array(
    'label' => 'Title',
    'link_to_node' => 1,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Override',
    ),
  ),
  'timestamp' => array(
    'label' => 'New?',
    'link_to_node' => 0,
    'comments' => 0,
    'exclude' => 0,
    'id' => 'timestamp',
    'table' => 'history_user',
    'field' => 'timestamp',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'type' => array(
    'label' => 'Type',
    'link_to_node' => 0,
    'exclude' => 0,
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'name' => array(
    'label' => 'Author',
    'link_to_user' => 1,
    'exclude' => 0,
    'id' => 'name',
    'table' => 'users',
    'field' => 'name',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'status' => array(
    'label' => 'Published',
    'type' => 'yes-no',
    'not' => 0,
    'exclude' => 0,
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'edit_node' => array(
    'label' => 'Edit',
    'text' => '',
    'exclude' => 0,
    'id' => 'edit_node',
    'table' => 'node',
    'field' => 'edit_node',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('sorts', array(
  'created' => array(
    'order' => 'DESC',
    'granularity' => 'second',
    'id' => 'created',
    'table' => 'node',
    'field' => 'created',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('filters', array(
  'title' => array(
    'operator' => 'contains',
    'value' => '',
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'use_operator' => 0,
      'operator' => 'title_op',
      'identifier' => 'title',
      'label' => 'Title contains',
      'optional' => 1,
      'remember' => 0,
    ),
    'case' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'type' => array(
    'operator' => 'in',
    'value' => array(),
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'use_operator' => 0,
      'operator' => 'type_op',
      'identifier' => 'type',
      'label' => 'Type',
      'optional' => 1,
      'single' => 1,
      'remember' => 0,
      'reduce' => 0,
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'promote' => array(
    'operator' => '=',
    'value' => 'All',
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'operator' => '',
      'identifier' => 'promote',
      'label' => 'Promoted',
      'optional' => 1,
      'remember' => 0,
    ),
    'id' => 'promote',
    'table' => 'node',
    'field' => 'promote',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'status' => array(
    'operator' => '=',
    'value' => 'All',
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'operator' => '',
      'identifier' => 'status',
      'label' => 'Published',
      'optional' => 1,
      'remember' => 0,
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'sticky' => array(
    'operator' => '=',
    'value' => 'All',
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'operator' => '',
      'identifier' => 'sticky',
      'label' => 'Sticky',
      'optional' => 1,
      'remember' => 0,
    ),
    'id' => 'sticky',
    'table' => 'node',
    'field' => 'sticky',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'perm',
  'perm' => 'administer nodes',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('title', 'Moderation queue');
$handler->override_option('empty', 'There are no objects satisfying the filter settings. Try changing them to get some results.');
$handler->override_option('empty_format', '1');
$handler->override_option('items_per_page', 20);
$handler->override_option('use_pager', '1');
$handler->override_option('style_plugin', 'bulk');
$handler->override_option('style_options', array(
  'grouping' => '',
  'override' => 1,
  'sticky' => 0,
  'order' => 'asc',
  'columns' => array(
    'title' => 'title',
    'timestamp' => 'title',
    'type' => 'type',
    'name' => 'name',
    'status' => 'status',
    'edit_node' => 'edit_node',
  ),
  'info' => array(
    'title' => array(
      'sortable' => 1,
      'separator' => '&nbsp;',
    ),
    'timestamp' => array(
      'separator' => '',
    ),
    'type' => array(
      'sortable' => 1,
      'separator' => '',
    ),
    'name' => array(
      'sortable' => 1,
      'separator' => '',
    ),
    'status' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'edit_node' => array(
      'separator' => '',
    ),
  ),
  'default' => '-1',
  'execution_type' => '1',
  'display_type' => '0',
  'hide_select_all' => 0,
  'skip_confirmation' => 0,
  'display_result' => 1,
  'merge_single_action' => 0,
  'selected_operations' => array(
    'node_assign_owner_action' => 'node_assign_owner_action',
    'views_bulk_operations_delete_node_action' => 'views_bulk_operations_delete_node_action',
    'views_bulk_operations_script_action' => 'views_bulk_operations_script_action',
    'node_make_sticky_action' => 'node_make_sticky_action',
    'node_make_unsticky_action' => 'node_make_unsticky_action',
    'views_bulk_operations_fields_action' => 'views_bulk_operations_fields_action',
    'views_bulk_operations_taxonomy_action' => 'views_bulk_operations_taxonomy_action',
    'node_promote_action' => 'node_promote_action',
    'node_publish_action' => 'node_publish_action',
    'node_unpromote_action' => 'node_unpromote_action',
    'node_unpublish_action' => 'node_unpublish_action',
  ),
));
$handler = $view->new_display('page', 'Page', 'page');
$handler->override_option('path', 'moderation-queue');
$handler->override_option('menu', array(
  'type' => 'normal',
  'title' => 'Moderation queue',
  'description' => '',
  'weight' => '0',
  'name' => 'navigation',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
</pre>
</pre>
=== Fedora Weekly News view ===
Here is the current FWN view. Click "import" on admin/build/views to import this view.
<pre>
$view = new view;
$view->name = 'fwn';
$view->description = '';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
  'body' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'exclude' => 0,
    'id' => 'body',
    'table' => 'node_revisions',
    'field' => 'body',
    'relationship' => 'none',
  ),
));
$handler->override_option('sorts', array(
  'field_issue_value' => array(
    'order' => 'ASC',
    'delta' => -1,
    'id' => 'field_issue_value',
    'table' => 'node_data_field_issue',
    'field' => 'field_issue_value',
    'relationship' => 'none',
  ),
  'created' => array(
    'order' => 'ASC',
    'granularity' => 'second',
    'id' => 'created',
    'table' => 'node',
    'field' => 'created',
    'relationship' => 'none',
  ),
));
$handler->override_option('arguments', array(
  'field_issue_value' => array(
    'default_action' => 'summary desc',
    'style_plugin' => 'default_summary',
    'style_options' => array(
      'count' => 0,
      'override' => 0,
      'items_per_page' => '25',
    ),
    'wildcard' => 'all',
    'wildcard_substitution' => 'All',
    'title' => 'FWN %1',
    'breadcrumb' => '',
    'default_argument_type' => 'fixed',
    'default_argument' => '',
    'validate_type' => 'none',
    'validate_fail' => 'not found',
    'break_phrase' => 0,
    'not' => 0,
    'id' => 'field_issue_value',
    'table' => 'node_data_field_issue',
    'field' => 'field_issue_value',
    'validate_user_argument_type' => 'uid',
    'validate_user_roles' => array(
      '2' => 0,
      '3' => 0,
      '5' => 0,
      '7' => 0,
      '6' => 0,
      '4' => 0,
    ),
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
    'default_options_div_prefix' => '',
    'default_argument_fixed' => '',
    'default_argument_user' => 0,
    'default_argument_php' => '',
    'validate_argument_node_type' => array(
      'feed' => 0,
      'feed_item' => 0,
      'book' => 0,
      'event' => 0,
      'fwnbeat' => 0,
      'page' => 0,
      'story' => 0,
    ),
    'validate_argument_node_access' => 0,
    'validate_argument_nid_type' => 'nid',
    'validate_argument_vocabulary' => array(
      '1' => 0,
    ),
    'validate_argument_type' => 'tid',
    'validate_argument_transform' => 0,
    'validate_user_restrict_roles' => 0,
    'validate_argument_php' => '',
  ),
));
$handler->override_option('filters', array(
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'fwnbeat' => 'fwnbeat',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Override',
    ),
  ),
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'time',
  'results_lifespan' => '3600',
  'output_lifespan' => '3600',
));
$handler->override_option('title', 'Fedora Weekly News');
$handler->override_option('header_format', '1');
$handler->override_option('header_empty', 0);
$handler->override_option('footer_format', '1');
$handler->override_option('footer_empty', 0);
$handler->override_option('distinct', 1);
$handler->override_option('style_plugin', 'grid');
$handler->override_option('style_options', array(
  'grouping' => '',
  'columns' => '1',
  'alignment' => 'vertical',
  'fill_single_line' => 1,
));
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->override_option('css_class', 'fwn-combined');
$handler->override_option('header', 'Here are the latest issues of the [[Fedora Weekly News]] for your reading pleasure. For older issues, refer to the [[FWN/Archive|archive]].');
$handler->override_option('header_format', '4');
$handler->override_option('footer', 'The [[FWN|Fedora Weekly News]] is provided weekly by a staff of volunteers. Working with the friendly, helpful [[FWN]] staff is easy and it\'s a great place to start if you\'re a new contributor with about 60 minutes a week you can donate for this task. Stop by the [[FWN]] page on the wiki and get information on how to introduce yourself. You\'ll be helping innumerable other contributors keep on top of what\'s going on in Fedora, and spread project news around the globe.');
$handler->override_option('footer_format', '4');
$handler->override_option('path', 'fwn');
$handler->override_option('menu', array(
  'type' => 'normal',
  'title' => 'Fedora Weekly News',
  'description' => '',
  'weight' => '0',
  'name' => 'primary-links',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler = $view->new_display('block', 'Block', 'block_1');
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);
</pre>
=== Feeds view ===
Here is the current Feeds view. Click "import" on admin/build/views to import this view.
<pre>
$view = new view;
$view->name = 'Feeds';
$view->description = 'Imported contents\' items.';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
  'title' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 1,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('sorts', array(
  'created' => array(
    'order' => 'DESC',
    'granularity' => 'second',
    'id' => 'created',
    'table' => 'node',
    'field' => 'created',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('filters', array(
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'feed_item' => 'feed_item',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('title', 'Fedora Planet highlights');
$handler->override_option('items_per_page', 5);
$handler->override_option('style_options', array(
  'grouping' => '',
));
$handler = $view->new_display('block', 'Block', 'block_1');
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);
</pre>
=== FWN's beats view ===
Here is the current FWN's beats view. Click "import" on admin/build/views to import this view.
<pre>
$view = new view;
$view->name = 'fwn_beat';
$view->description = 'This is a view for a specific FWN beat by date';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
  'field_issue_value' => array(
    'id' => 'field_issue_value',
    'table' => 'node_data_field_issue',
    'field' => 'field_issue_value',
  ),
  'body' => array(
    'id' => 'body',
    'table' => 'node_revisions',
    'field' => 'body',
  ),
));
$handler->override_option('sorts', array(
  'field_issue_value' => array(
    'order' => 'DESC',
    'delta' => -1,
    'id' => 'field_issue_value',
    'table' => 'node_data_field_issue',
    'field' => 'field_issue_value',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Override',
    ),
  ),
));
$handler->override_option('arguments', array(
  'field_beat_value' => array(
    'default_action' => 'summary asc',
    'style_plugin' => 'default_summary',
    'style_options' => array(
      'count' => 0,
      'override' => 0,
      'items_per_page' => '25',
    ),
    'wildcard' => 'all',
    'wildcard_substitution' => 'All',
    'title' => 'Recent news for FWN: %1',
    'breadcrumb' => '',
    'default_argument_type' => 'fixed',
    'default_argument' => '',
    'validate_type' => 'none',
    'validate_fail' => 'not found',
    'add_table' => 0,
    'require_value' => 0,
    'reduce_duplicates' => 1,
    'id' => 'field_beat_value',
    'table' => 'node_data_field_beat',
    'field' => 'field_beat_value',
    'validate_user_argument_type' => 'uid',
    'validate_user_roles' => array(
      '2' => 0,
      '3' => 0,
      '5' => 0,
      '7' => 0,
      '6' => 0,
      '4' => 0,
    ),
    'relationship' => 'none',
    'default_options_div_prefix' => '',
    'default_argument_fixed' => '',
    'default_argument_user' => 0,
    'default_argument_php' => '',
    'validate_argument_node_type' => array(
      'feed' => 0,
      'feed_item' => 0,
      'book' => 0,
      'event' => 0,
      'fwnbeat' => 0,
      'page' => 0,
      'story' => 0,
    ),
    'validate_argument_node_access' => 0,
    'validate_argument_nid_type' => 'nid',
    'validate_argument_vocabulary' => array(
      '1' => 0,
    ),
    'validate_argument_type' => 'tid',
    'validate_argument_transform' => 0,
    'validate_user_restrict_roles' => 0,
    'validate_argument_php' => '',
    'override' => array(
      'button' => 'Override',
    ),
  ),
));
$handler->override_option('filters', array(
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'fwnbeat' => 'fwnbeat',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'time',
  'results_lifespan' => '3600',
  'output_lifespan' => '3600',
));
$handler->override_option('title', 'Insight: FWN\'s beat');
$handler->override_option('css_class', 'fwn-onebeat');
$handler->override_option('distinct', 0);
$handler->override_option('style_options', NULL);
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->override_option('fields', array(
  'field_issue_value' => array(
    'label' => 'FWN issue',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'custom',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_issue_value',
    'table' => 'node_data_field_issue',
    'field' => 'field_issue_value',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
  'body' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'exclude' => 0,
    'id' => 'body',
    'table' => 'node_revisions',
    'field' => 'body',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('style_options', array());
$handler->override_option('path', 'fwn/beat');
$handler->override_option('menu', array(
  'type' => 'normal',
  'title' => 'Fedora Weekly News Beats',
  'description' => '',
  'weight' => '1',
  'name' => 'primary-links',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler = $view->new_display('feed', 'Feed', 'feed_1');
$handler->override_option('style_plugin', 'rss');
$handler->override_option('style_options', array(
  'mission_description' => FALSE,
  'description' => '',
));
$handler->override_option('row_plugin', 'node_rss');
$handler->override_option('row_options', array(
  'relationship' => 'none',
  'item_length' => 'fulltext',
));
$handler->override_option('path', 'fwn/beat/%/feed');
$handler->override_option('menu', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler->override_option('displays', array(
  'page_1' => 'page_1',
  'default' => 0,
));
$handler->override_option('sitename_title', FALSE);
</pre>
[[Category:Fedora Insight]]

Latest revision as of 15:21, 31 March 2011

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.

Content types

FWN beat

Here is the current fwn beat content type, click "import" on admin/content/types/ to import this type.

$content['type']  = array (
  'name' => 'Weekly news beat',
  'type' => 'fwnbeat',
  'description' => 'A single "beat" or topical area in the Fedora Weekly News',
  'title_label' => 'Title',
  'body_label' => 'Body',
  'min_word_count' => '0',
  'help' => '',
  'node_options' => 
  array (
    'status' => false,
    'promote' => false,
    'sticky' => false,
    'revision' => false,
  ),
  'language_content_type' => '0',
  'old_type' => 'fwnbeat',
  'orig_type' => '',
  'module' => 'node',
  'custom' => '1',
  'modified' => '1',
  'locked' => '0',
  'comment' => '2',
  'comment_default_mode' => '4',
  'comment_default_order' => '1',
  'comment_default_per_page' => '50',
  'comment_controls' => '3',
  'comment_anonymous' => 0,
  'comment_subject_field' => '1',
  'comment_preview' => '1',
  'comment_form_location' => '0',
  'ant' => '1',
  'ant_pattern' => '[field_issue-raw]-[field_beat-raw]',
  'auto_nodetitle_php' => 0,
  'i18n_newnode_current' => 0,
  'i18n_required_node' => 0,
  'i18n_lock_node' => 0,
  'i18n_node' => 1,
  'i18nsync_nodeapi' => 
  array (
    'name' => false,
    'status' => false,
    'promote' => false,
    'moderate' => false,
    'sticky' => false,
    'revision' => false,
    'parent' => false,
    'taxonomy' => false,
    'comment' => false,
    'field_issue' => false,
    'field_beat' => false,
  ),
);
$content['fields']  = array (
  0 => 
  array (
    'label' => 'Issue',
    'field_name' => 'field_issue',
    'type' => 'number_integer',
    'widget_type' => 'number',
    'change' => 'Change basic information',
    'weight' => '5',
    'description' => '',
    'default_value' => 
    array (
      0 => 
      array (
        'value' => '',
        '_error_element' => 'default_value_widget][field_issue][0][value',
      ),
    ),
    'default_value_php' => '',
    'default_value_widget' => NULL,
    'group' => false,
    'required' => 1,
    'multiple' => '0',
    'min' => '',
    'max' => '',
    'prefix' => '',
    'suffix' => '',
    'allowed_values' => '',
    'op' => 'Save field settings',
    'module' => 'number',
    'widget_module' => 'number',
    'columns' => 
    array (
      'value' => 
      array (
        'type' => 'int',
        'not null' => false,
        'sortable' => true,
      ),
    ),
    'display_settings' => 
    array (
      'weight' => '5',
      'parent' => '',
      'label' => 
      array (
        'format' => 'hidden',
      ),
      'teaser' => 
      array (
        'format' => 'hidden',
        'exclude' => 0,
      ),
      'full' => 
      array (
        'format' => 'hidden',
        'exclude' => 0,
      ),
      5 => 
      array (
        'format' => 'default',
        'exclude' => 0,
      ),
      4 => 
      array (
        'format' => 'default',
        'exclude' => 0,
      ),
    ),
  ),
  1 => 
  array (
    'label' => 'Beat',
    'field_name' => 'field_beat',
    'type' => 'text',
    'widget_type' => 'optionwidgets_select',
    'change' => 'Change basic information',
    'weight' => '6',
    'description' => '',
    'default_value' => 
    array (
      0 => 
      array (
        'value' => '',
      ),
    ),
    'default_value_php' => '',
    'default_value_widget' => 
    array (
      'field_beat' => 
      array (
        'value' => '',
      ),
    ),
    'group' => false,
    'required' => 1,
    'multiple' => '0',
    'text_processing' => '0',
    'max_length' => '',
    'allowed_values' => 'Introduction
Announcements
Planet Fedora
Fedora In The News
Ambassadors
Quality Assurance
Marketing
Design
Translation
Security Advisories
KDE',
    'op' => 'Save field settings',
    'module' => 'text',
    'widget_module' => 'optionwidgets',
    'columns' => 
    array (
      'value' => 
      array (
        'type' => 'text',
        'size' => 'big',
        'not null' => false,
        'sortable' => true,
        'views' => true,
      ),
    ),
    'display_settings' => 
    array (
      'weight' => '6',
      'parent' => '',
      'label' => 
      array (
        'format' => 'hidden',
      ),
      'teaser' => 
      array (
        'format' => 'hidden',
        'exclude' => 0,
      ),
      'full' => 
      array (
        'format' => 'hidden',
        'exclude' => 0,
      ),
      5 => 
      array (
        'format' => 'default',
        'exclude' => 0,
      ),
      4 => 
      array (
        'format' => 'default',
        'exclude' => 0,
      ),
    ),
  ),
);
$content['extra']  = array (
  'title' => '16',
  'body_field' => '8',
  'revision_information' => '11',
  'author' => '10',
  'options' => '12',
  'comment_settings' => '13',
  'menu' => '7',
  'book' => '9',
);

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

  1. Import this filter as a new filter called Fedora Mediawiki Format.
  2. In Site configuration > Input formats, choose Add input format. Name the new input format Fedora wiki text.
  3. Enable this input format only for people in the CMS groups (writers, editors, administrators). Do not enable it for anonymous or simple authenticated users.
  4. Enable the Footnotes and Fedora Mediawiki Format filters for this input format. Ensure the HTML Filter filter is also enabled for this format.
  5. 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
    {{Anchor|name}} <span class="anchor" id="name"></span>

Views

Moderation queue view

Here is the current moderation queue view. Click "import" on admin/build/views to import this view.

$view = new view;
$view->name = 'admin_content';
$view->description = 'Emulates the Drupal content administration page.';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Default', 'default');
$handler->override_option('fields', array(
  'title' => array(
    'label' => 'Title',
    'link_to_node' => 1,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Override',
    ),
  ),
  'timestamp' => array(
    'label' => 'New?',
    'link_to_node' => 0,
    'comments' => 0,
    'exclude' => 0,
    'id' => 'timestamp',
    'table' => 'history_user',
    'field' => 'timestamp',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'type' => array(
    'label' => 'Type',
    'link_to_node' => 0,
    'exclude' => 0,
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'name' => array(
    'label' => 'Author',
    'link_to_user' => 1,
    'exclude' => 0,
    'id' => 'name',
    'table' => 'users',
    'field' => 'name',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'status' => array(
    'label' => 'Published',
    'type' => 'yes-no',
    'not' => 0,
    'exclude' => 0,
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'edit_node' => array(
    'label' => 'Edit',
    'text' => '',
    'exclude' => 0,
    'id' => 'edit_node',
    'table' => 'node',
    'field' => 'edit_node',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('sorts', array(
  'created' => array(
    'order' => 'DESC',
    'granularity' => 'second',
    'id' => 'created',
    'table' => 'node',
    'field' => 'created',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('filters', array(
  'title' => array(
    'operator' => 'contains',
    'value' => '',
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'use_operator' => 0,
      'operator' => 'title_op',
      'identifier' => 'title',
      'label' => 'Title contains',
      'optional' => 1,
      'remember' => 0,
    ),
    'case' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'type' => array(
    'operator' => 'in',
    'value' => array(),
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'use_operator' => 0,
      'operator' => 'type_op',
      'identifier' => 'type',
      'label' => 'Type',
      'optional' => 1,
      'single' => 1,
      'remember' => 0,
      'reduce' => 0,
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'promote' => array(
    'operator' => '=',
    'value' => 'All',
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'operator' => '',
      'identifier' => 'promote',
      'label' => 'Promoted',
      'optional' => 1,
      'remember' => 0,
    ),
    'id' => 'promote',
    'table' => 'node',
    'field' => 'promote',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'status' => array(
    'operator' => '=',
    'value' => 'All',
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'operator' => '',
      'identifier' => 'status',
      'label' => 'Published',
      'optional' => 1,
      'remember' => 0,
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'sticky' => array(
    'operator' => '=',
    'value' => 'All',
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'operator' => '',
      'identifier' => 'sticky',
      'label' => 'Sticky',
      'optional' => 1,
      'remember' => 0,
    ),
    'id' => 'sticky',
    'table' => 'node',
    'field' => 'sticky',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'perm',
  'perm' => 'administer nodes',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('title', 'Moderation queue');
$handler->override_option('empty', 'There are no objects satisfying the filter settings. Try changing them to get some results.');
$handler->override_option('empty_format', '1');
$handler->override_option('items_per_page', 20);
$handler->override_option('use_pager', '1');
$handler->override_option('style_plugin', 'bulk');
$handler->override_option('style_options', array(
  'grouping' => '',
  'override' => 1,
  'sticky' => 0,
  'order' => 'asc',
  'columns' => array(
    'title' => 'title',
    'timestamp' => 'title',
    'type' => 'type',
    'name' => 'name',
    'status' => 'status',
    'edit_node' => 'edit_node',
  ),
  'info' => array(
    'title' => array(
      'sortable' => 1,
      'separator' => ' ',
    ),
    'timestamp' => array(
      'separator' => '',
    ),
    'type' => array(
      'sortable' => 1,
      'separator' => '',
    ),
    'name' => array(
      'sortable' => 1,
      'separator' => '',
    ),
    'status' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'edit_node' => array(
      'separator' => '',
    ),
  ),
  'default' => '-1',
  'execution_type' => '1',
  'display_type' => '0',
  'hide_select_all' => 0,
  'skip_confirmation' => 0,
  'display_result' => 1,
  'merge_single_action' => 0,
  'selected_operations' => array(
    'node_assign_owner_action' => 'node_assign_owner_action',
    'views_bulk_operations_delete_node_action' => 'views_bulk_operations_delete_node_action',
    'views_bulk_operations_script_action' => 'views_bulk_operations_script_action',
    'node_make_sticky_action' => 'node_make_sticky_action',
    'node_make_unsticky_action' => 'node_make_unsticky_action',
    'views_bulk_operations_fields_action' => 'views_bulk_operations_fields_action',
    'views_bulk_operations_taxonomy_action' => 'views_bulk_operations_taxonomy_action',
    'node_promote_action' => 'node_promote_action',
    'node_publish_action' => 'node_publish_action',
    'node_unpromote_action' => 'node_unpromote_action',
    'node_unpublish_action' => 'node_unpublish_action',
  ),
));
$handler = $view->new_display('page', 'Page', 'page');
$handler->override_option('path', 'moderation-queue');
$handler->override_option('menu', array(
  'type' => 'normal',
  'title' => 'Moderation queue',
  'description' => '',
  'weight' => '0',
  'name' => 'navigation',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));

Fedora Weekly News view

Here is the current FWN view. Click "import" on admin/build/views to import this view.

$view = new view;
$view->name = 'fwn';
$view->description = '';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
  'body' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'exclude' => 0,
    'id' => 'body',
    'table' => 'node_revisions',
    'field' => 'body',
    'relationship' => 'none',
  ),
));
$handler->override_option('sorts', array(
  'field_issue_value' => array(
    'order' => 'ASC',
    'delta' => -1,
    'id' => 'field_issue_value',
    'table' => 'node_data_field_issue',
    'field' => 'field_issue_value',
    'relationship' => 'none',
  ),
  'created' => array(
    'order' => 'ASC',
    'granularity' => 'second',
    'id' => 'created',
    'table' => 'node',
    'field' => 'created',
    'relationship' => 'none',
  ),
));
$handler->override_option('arguments', array(
  'field_issue_value' => array(
    'default_action' => 'summary desc',
    'style_plugin' => 'default_summary',
    'style_options' => array(
      'count' => 0,
      'override' => 0,
      'items_per_page' => '25',
    ),
    'wildcard' => 'all',
    'wildcard_substitution' => 'All',
    'title' => 'FWN %1',
    'breadcrumb' => '',
    'default_argument_type' => 'fixed',
    'default_argument' => '',
    'validate_type' => 'none',
    'validate_fail' => 'not found',
    'break_phrase' => 0,
    'not' => 0,
    'id' => 'field_issue_value',
    'table' => 'node_data_field_issue',
    'field' => 'field_issue_value',
    'validate_user_argument_type' => 'uid',
    'validate_user_roles' => array(
      '2' => 0,
      '3' => 0,
      '5' => 0,
      '7' => 0,
      '6' => 0,
      '4' => 0,
    ),
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
    'default_options_div_prefix' => '',
    'default_argument_fixed' => '',
    'default_argument_user' => 0,
    'default_argument_php' => '',
    'validate_argument_node_type' => array(
      'feed' => 0,
      'feed_item' => 0,
      'book' => 0,
      'event' => 0,
      'fwnbeat' => 0,
      'page' => 0,
      'story' => 0,
    ),
    'validate_argument_node_access' => 0,
    'validate_argument_nid_type' => 'nid',
    'validate_argument_vocabulary' => array(
      '1' => 0,
    ),
    'validate_argument_type' => 'tid',
    'validate_argument_transform' => 0,
    'validate_user_restrict_roles' => 0,
    'validate_argument_php' => '',
  ),
));
$handler->override_option('filters', array(
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'fwnbeat' => 'fwnbeat',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Override',
    ),
  ),
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'time',
  'results_lifespan' => '3600',
  'output_lifespan' => '3600',
));
$handler->override_option('title', 'Fedora Weekly News');
$handler->override_option('header_format', '1');
$handler->override_option('header_empty', 0);
$handler->override_option('footer_format', '1');
$handler->override_option('footer_empty', 0);
$handler->override_option('distinct', 1);
$handler->override_option('style_plugin', 'grid');
$handler->override_option('style_options', array(
  'grouping' => '',
  'columns' => '1',
  'alignment' => 'vertical',
  'fill_single_line' => 1,
));
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->override_option('css_class', 'fwn-combined');
$handler->override_option('header', 'Here are the latest issues of the [[Fedora Weekly News]] for your reading pleasure. For older issues, refer to the [[FWN/Archive|archive]].');
$handler->override_option('header_format', '4');
$handler->override_option('footer', 'The [[FWN|Fedora Weekly News]] is provided weekly by a staff of volunteers. Working with the friendly, helpful [[FWN]] staff is easy and it\'s a great place to start if you\'re a new contributor with about 60 minutes a week you can donate for this task. Stop by the [[FWN]] page on the wiki and get information on how to introduce yourself. You\'ll be helping innumerable other contributors keep on top of what\'s going on in Fedora, and spread project news around the globe.');
$handler->override_option('footer_format', '4');
$handler->override_option('path', 'fwn');
$handler->override_option('menu', array(
  'type' => 'normal',
  'title' => 'Fedora Weekly News',
  'description' => '',
  'weight' => '0',
  'name' => 'primary-links',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler = $view->new_display('block', 'Block', 'block_1');
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);

Feeds view

Here is the current Feeds view. Click "import" on admin/build/views to import this view.

$view = new view;
$view->name = 'Feeds';
$view->description = 'Imported contents\' items.';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
  'title' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 1,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('sorts', array(
  'created' => array(
    'order' => 'DESC',
    'granularity' => 'second',
    'id' => 'created',
    'table' => 'node',
    'field' => 'created',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('filters', array(
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'feed_item' => 'feed_item',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('title', 'Fedora Planet highlights');
$handler->override_option('items_per_page', 5);
$handler->override_option('style_options', array(
  'grouping' => '',
));
$handler = $view->new_display('block', 'Block', 'block_1');
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);


FWN's beats view

Here is the current FWN's beats view. Click "import" on admin/build/views to import this view.

$view = new view;
$view->name = 'fwn_beat';
$view->description = 'This is a view for a specific FWN beat by date';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
  'field_issue_value' => array(
    'id' => 'field_issue_value',
    'table' => 'node_data_field_issue',
    'field' => 'field_issue_value',
  ),
  'body' => array(
    'id' => 'body',
    'table' => 'node_revisions',
    'field' => 'body',
  ),
));
$handler->override_option('sorts', array(
  'field_issue_value' => array(
    'order' => 'DESC',
    'delta' => -1,
    'id' => 'field_issue_value',
    'table' => 'node_data_field_issue',
    'field' => 'field_issue_value',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Override',
    ),
  ),
));
$handler->override_option('arguments', array(
  'field_beat_value' => array(
    'default_action' => 'summary asc',
    'style_plugin' => 'default_summary',
    'style_options' => array(
      'count' => 0,
      'override' => 0,
      'items_per_page' => '25',
    ),
    'wildcard' => 'all',
    'wildcard_substitution' => 'All',
    'title' => 'Recent news for FWN: %1',
    'breadcrumb' => '',
    'default_argument_type' => 'fixed',
    'default_argument' => '',
    'validate_type' => 'none',
    'validate_fail' => 'not found',
    'add_table' => 0,
    'require_value' => 0,
    'reduce_duplicates' => 1,
    'id' => 'field_beat_value',
    'table' => 'node_data_field_beat',
    'field' => 'field_beat_value',
    'validate_user_argument_type' => 'uid',
    'validate_user_roles' => array(
      '2' => 0,
      '3' => 0,
      '5' => 0,
      '7' => 0,
      '6' => 0,
      '4' => 0,
    ),
    'relationship' => 'none',
    'default_options_div_prefix' => '',
    'default_argument_fixed' => '',
    'default_argument_user' => 0,
    'default_argument_php' => '',
    'validate_argument_node_type' => array(
      'feed' => 0,
      'feed_item' => 0,
      'book' => 0,
      'event' => 0,
      'fwnbeat' => 0,
      'page' => 0,
      'story' => 0,
    ),
    'validate_argument_node_access' => 0,
    'validate_argument_nid_type' => 'nid',
    'validate_argument_vocabulary' => array(
      '1' => 0,
    ),
    'validate_argument_type' => 'tid',
    'validate_argument_transform' => 0,
    'validate_user_restrict_roles' => 0,
    'validate_argument_php' => '',
    'override' => array(
      'button' => 'Override',
    ),
  ),
));
$handler->override_option('filters', array(
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'fwnbeat' => 'fwnbeat',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'time',
  'results_lifespan' => '3600',
  'output_lifespan' => '3600',
));
$handler->override_option('title', 'Insight: FWN\'s beat');
$handler->override_option('css_class', 'fwn-onebeat');
$handler->override_option('distinct', 0);
$handler->override_option('style_options', NULL);
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->override_option('fields', array(
  'field_issue_value' => array(
    'label' => 'FWN issue',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'custom',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_issue_value',
    'table' => 'node_data_field_issue',
    'field' => 'field_issue_value',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
  'body' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'exclude' => 0,
    'id' => 'body',
    'table' => 'node_revisions',
    'field' => 'body',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('style_options', array());
$handler->override_option('path', 'fwn/beat');
$handler->override_option('menu', array(
  'type' => 'normal',
  'title' => 'Fedora Weekly News Beats',
  'description' => '',
  'weight' => '1',
  'name' => 'primary-links',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler = $view->new_display('feed', 'Feed', 'feed_1');
$handler->override_option('style_plugin', 'rss');
$handler->override_option('style_options', array(
  'mission_description' => FALSE,
  'description' => '',
));
$handler->override_option('row_plugin', 'node_rss');
$handler->override_option('row_options', array(
  'relationship' => 'none',
  'item_length' => 'fulltext',
));
$handler->override_option('path', 'fwn/beat/%/feed');
$handler->override_option('menu', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler->override_option('displays', array(
  'page_1' => 'page_1',
  'default' => 0,
));
$handler->override_option('sitename_title', FALSE);