1 = Metadata = 2 3 The metadata abstraction is used in MoinLight to control the conversion of 4 wiki content from its [[Input|input]] form to its eventual [[Output|output]] 5 form. 6 7 The settings or properties retained by the conversion metadata are described 8 below. 9 10 <<TableOfContents(2)>> 11 12 == attachments == 13 14 Default:: `attachments` 15 16 The name used for attachment directories. 17 18 == document_index == 19 20 Default:: (none) 21 22 The filename to be incorporated into page links so that such links reference a 23 particular file instead of the page directory containing the file. This is 24 useful when generating HTML content to be browsed as local files. 25 26 == input_context == 27 28 Default:: `standalone` 29 Alternative:: `directory` 30 31 The form of the [[Input|input]] to be processed. 32 33 == input_encoding == 34 35 Default:: `utf-8` 36 37 The character encoding used in the input documents. 38 39 == input_filename == 40 41 Default:: (none) 42 43 The location of the input document or directory of documents. 44 45 == input_format == 46 47 Default:: `moin` 48 49 The default format of input documents. 50 51 == input_separator == 52 53 Default:: (none) 54 55 The separator used to structure hierarchical pagenames. 56 57 == link_format == 58 59 Default:: (depends on the [[#output_format| output format]]) 60 61 The format of encoded links in converted documents. Typically, this will 62 conform to the general output format of the documents. 63 64 == mapping == 65 66 Default:: (none) 67 68 A mapping of identifiers to URLs, used to generate interwiki links. 69 70 == output_context == 71 72 Default:: `standalone` 73 Alternative:: `directory` 74 75 The form of the [[Output|output]] to be processed. 76 77 == output_encoding == 78 79 Default:: `utf-8` 80 81 The character encoding used in the output documents. 82 83 == output_format == 84 85 Default:: `moin` 86 87 The default format of output documents. 88 89 == output_filename == 90 91 Default:: (none) 92 93 The location of the output document or directory of documents. 94 95 == root_pagename == 96 97 Default:: `FrontPage` 98 99 The pagename of the root document in a collection of documents. 100 101 == theme_name == 102 103 Default:: (none) 104 Alternatives:: (see below) 105 106 Required for applying themes to output. The names combine a theme name with an 107 output format. For example: 108 109 || '''Alternative''' || '''Theme''' || '''Format''' || 110 || `default.html` || `default` || `html` || 111 || `mercurial.html` || `mercurial` || `html` ||