Metadata

The metadata abstraction is used in MoinLight to control the conversion of wiki content from its input form to its eventual output form.

The settings or properties retained by the conversion metadata are described below.

  1. attachments
  2. document_index
  3. index_name
  4. input_context
  5. input_encoding
  6. input_filename
  7. input_format
  8. input_separator
  9. link_format
  10. mapping
  11. output_context
  12. output_encoding
  13. output_format
  14. output_filename
  15. root_pagename
  16. theme_name

attachments

Default
attachments

The name used for attachment directories.

document_index

Default
(none)

The filename to be incorporated into page links so that such links reference a particular file instead of the page directory containing the file. This is useful when generating HTML content to be browsed as local files.

index_name

Default
index.html

The filename to be used for HTML documents providing page content in a directory output context. This will inherit any specified setting for the document index.

input_context

Default
standalone
Alternatives
directory, moindirectory

The form of the input to be processed.

input_encoding

Default
utf-8

The character encoding used in the input documents.

input_filename

Default
(none)

The location of the input document or directory of documents.

input_format

Default
moin

The default format of input documents.

input_separator

Default
(none)

The separator used to structure hierarchical pagenames.

Default
(depends on the output format)

The format of encoded links in converted documents. Typically, this will conform to the general output format of the documents.

mapping

Default
(none)

A mapping of identifiers to URLs, used to generate interwiki links.

output_context

Default
standalone
Alternative
directory

The form of the output to be processed.

output_encoding

Default
utf-8

The character encoding used in the output documents.

output_format

Default
moin

The default format of output documents.

output_filename

Default
(none)

The location of the output document or directory of documents.

root_pagename

Default
FrontPage

The pagename of the root document in a collection of documents.

theme_name

Default
(none)
Alternatives
(see below)

Required for applying themes to output. The names combine a theme name with an output format. For example:

Alternative Theme Format
default.html default html
mercurial.html mercurial html