From Fedora Project Wiki

Revision as of 22:24, 25 August 2010 by Pfrields (talk | contribs)

This page tracks the setup of content (call it content architecture if you like) for the Fedora Insight system.


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

Flexifilters

Here is the current content of a filter for the Fedora wiki:

array (
  'label' => 'Fedora Mediawiki Format',
  'description' => 'This filter provides an input format for the Fedora wiki. Use this if you are pasting or writing content that uses Fedora wiki markup.',
  'id' => '3',
  'enabled' => true,
  'advanced' => true,
  'delta' => '1',
  'cache' => '1',
  'components' => 
  array (
    0 => 
    array (
      'class' => 'flexifilter_text_prepend',
      'settings' => 
      array (
        'text' => '</nowiki>',
        'step' => 'process',
      ),
      'id' => '31',
    ),
    1 => 
    array (
      'class' => 'flexifilter_text_append',
      'settings' => 
      array (
        'text' => '',
        'step' => 'process',
      ),
      'id' => '32',
    ),
    2 => 
    array (
      'class' => 'flexifilter_chunk_grab',
      'settings' => 
      array (
        'starts' => '',
        'ends' => '<nowiki>',
        'pass_limits' => 0,
        'case_sensitive' => 0,
        'include_rest' => 1,
        'step' => 'process',
        'components' => 
        array (
          0 => 
          array (
            'class' => 'flexifilter_text_alternation',
            'settings' => 
            array (
              'find' => '=====',
              'replace' => '<h5>
</h5>',
              'step' => 'process',
            ),
            'id' => '34',
          ),
          1 => 
          array (
            'class' => 'flexifilter_text_alternation',
            'settings' => 
            array (
              'find' => '====',
              'replace' => '<h4>
</h4>',
              'step' => 'process',
            ),
            'id' => '35',
          ),
          2 => 
          array (
            'class' => 'flexifilter_text_alternation',
            'settings' => 
            array (
              'find' => '===',
              'replace' => '<h3>
</h3>',
              'step' => 'process',
            ),
            'id' => '36',
          ),
          3 => 
          array (
            'class' => 'flexifilter_text_alternation',
            'settings' => 
            array (
              'find' => '==',
              'replace' => '<h2>
</h2>',
              'step' => 'process',
            ),
            'id' => '37',
          ),
          4 => 
          array (
            'class' => 'flexifilter_text_alternation',
            'settings' => 
            array (
              'find' => '\'\'\'',
              'replace' => '<strong>
</strong>',
              'step' => 'process',
            ),
            'id' => '38',
          ),
          5 => 
          array (
            'class' => 'flexifilter_text_alternation',
            'settings' => 
            array (
              'find' => '\'\'',
              'replace' => '<em>
</em>',
              'step' => 'process',
            ),
            'id' => '39',
          ),
          6 => 
          array (
            'class' => 'flexifilter_chunk_grab',
            'settings' => 
            array (
              'starts' => '[[',
              'ends' => ']]',
              'pass_limits' => 0,
              'case_sensitive' => 0,
              'include_rest' => 1,
              'step' => 'process',
              'components' => 
              array (
                0 => 
                array (
                  'class' => 'flexifilter_control_if',
                  'settings' => 
                  array (
                    'components' => 
                    array (
                      0 => 
                      array (
                        'class' => 'flexifilter_text_replace',
                        'settings' => 
                        array (
                          'find' => '~',
                          'replace' => '\\~',
                          'step' => 'process',
                        ),
                        'id' => '42',
                      ),
                      1 => 
                      array (
                        'class' => 'flexifilter_text_append',
                        'settings' => 
                        array (
                          'text' => '~~',
                          'step' => 'process',
                        ),
                        'id' => '43',
                      ),
                      2 => 
                      array (
                        'class' => 'flexifilter_advanced_append',
                        'settings' => 
                        array (
                          'step' => 'process',
                          'components' => 
                          array (
                            0 => 
                            array (
                              'class' => 'flexifilter_text_replace',
                              'settings' => 
                              array (
                                'find' => '~~',
                                'replace' => '</a>',
                                'step' => 'process',
                              ),
                              'id' => '45',
                            ),
                          ),
                        ),
                        'id' => '44',
                      ),
                      3 => 
                      array (
                        'class' => 'flexifilter_text_replace',
                        'settings' => 
                        array (
                          'find' => '~~',
                          'replace' => '">',
                          'step' => 'process',
                        ),
                        'id' => '46',
                      ),
                      4 => 
                      array (
                        'class' => 'flexifilter_text_prepend',
                        'settings' => 
                        array (
                          'text' => '<a href="http://fedoraproject.org/wiki/',
                          'step' => 'process',
                        ),
                        'id' => '48',
                      ),
                      5 => 
                      array (
                        'class' => 'flexifilter_text_replace',
                        'settings' => 
                        array (
                          'find' => '\\~',
                          'replace' => '~',
                          'step' => 'process',
                        ),
                        'id' => '50',
                      ),
                    ),
                    'condition' => 
                    array (
                      'class' => 'flexifilter_group_not',
                      'settings' => 
                      array (
                        'conditions' => 
                        array (
                          0 => 
                          array (
                            'class' => 'flexifilter_text_search',
                            'settings' => 
                            array (
                              'find' => '|',
                              'is_regex' => 0,
                            ),
                          ),
                        ),
                      ),
                    ),
                  ),
                  'id' => '41',
                ),
                1 => 
                array (
                  'class' => 'flexifilter_control_if',
                  'settings' => 
                  array (
                    'components' => 
                    array (
                      0 => 
                      array (
                        'class' => 'flexifilter_text_prepend',
                        'settings' => 
                        array (
                          'text' => '<a href="http://fedoraproject.org/wiki/',
                          'step' => 'process',
                        ),
                        'id' => '55',
                      ),
                      1 => 
                      array (
                        'class' => 'flexifilter_text_replace',
                        'settings' => 
                        array (
                          'find' => '|',
                          'replace' => '">',
                          'step' => 'process',
                        ),
                        'id' => '56',
                      ),
                      2 => 
                      array (
                        'class' => 'flexifilter_text_append',
                        'settings' => 
                        array (
                          'text' => '</a>',
                          'step' => 'process',
                        ),
                        'id' => '57',
                      ),
                    ),
                    'condition' => 
                    array (
                      'class' => 'flexifilter_text_search',
                      'settings' => 
                      array (
                        'find' => '|',
                        'is_regex' => 0,
                      ),
                    ),
                  ),
                  'id' => '54',
                ),
              ),
            ),
            'id' => '40',
          ),
          7 => 
          array (
            'class' => 'flexifilter_chunk_grab',
            'settings' => 
            array (
              'starts' => '<ref>',
              'ends' => '</ref>',
              'pass_limits' => 0,
              'case_sensitive' => 0,
              'include_rest' => 1,
              'step' => 'process',
              'components' => 
              array (
                0 => 
                array (
                  'class' => 'flexifilter_control_if',
                  'settings' => 
                  array (
                    'components' => 
                    array (
                      0 => 
                      array (
                        'class' => 'flexifilter_text_replace',
                        'settings' => 
                        array (
                          'find' => '~',
                          'replace' => '\\~',
                          'step' => 'process',
                        ),
                        'id' => '61',
                      ),
                      1 => 
                      array (
                        'class' => 'flexifilter_text_append',
                        'settings' => 
                        array (
                          'text' => '~~',
                          'step' => 'process',
                        ),
                        'id' => '62',
                      ),
                      2 => 
                      array (
                        'class' => 'flexifilter_advanced_append',
                        'settings' => 
                        array (
                          'step' => 'process',
                          'components' => 
                          array (
                            0 => 
                            array (
                              'class' => 'flexifilter_text_replace',
                              'settings' => 
                              array (
                                'find' => '~~',
                                'replace' => '</a>',
                                'step' => 'process',
                              ),
                              'id' => '64',
                            ),
                          ),
                        ),
                        'id' => '63',
                      ),
                      3 => 
                      array (
                        'class' => 'flexifilter_text_replace',
                        'settings' => 
                        array (
                          'find' => '~~',
                          'replace' => '">',
                          'step' => 'process',
                        ),
                        'id' => '65',
                      ),
                      4 => 
                      array (
                        'class' => 'flexifilter_text_prepend',
                        'settings' => 
                        array (
                          'text' => '<a href="',
                          'step' => 'process',
                        ),
                        'id' => '67',
                      ),
                      5 => 
                      array (
                        'class' => 'flexifilter_text_replace',
                        'settings' => 
                        array (
                          'find' => '\\~',
                          'replace' => '~',
                          'step' => 'process',
                        ),
                        'id' => '69',
                      ),
                    ),
                    'condition' => 
                    array (
                      'class' => 'flexifilter_text_search',
                      'settings' => 
                      array (
                        'find' => 'http://',
                        'is_regex' => 1,
                      ),
                    ),
                  ),
                  'id' => '60',
                ),
              ),
            ),
            'id' => '59',
          ),
        ),
      ),
      'id' => '33',
    ),
    'id_next' => 72,
    'id_prefix' => 'flexifilter_component_',
  ),
  'fid' => 'new',
)