Vorlagenprogrammierung Diskussionen Lua Unterseiten
Modul Deutsch English


local Export = { suite  = "HelpVisualEditor",
                 sub    = "config",
                 serial = "2019-05-02",
                 item   = 63413913 }
--[=[
Unterstützung für Vorlagen/Hilfeseiten Hilfe:VisualEditor/***
mw.loadData()
]=]



local Config = { bgItemSel = "EAF3FF",
                 bgMainSel = "EAF3FF",
                 borderBar = "C8CCD1",
                 borderDd  = "BBBBBB",
                 borderSel = "22BFFF",
                 icon      = 16,
                 itemSel   = 1,
                 openDown  =
                      { px  = 12,
                        src = "OOjs UI icon expand.svg" },
                 mainPX    = 20,
                 shift     = mw.ustring.char( 8657 ),
                 single    = "VisualEditor/Bedienung",
                 shortcut  = "VisualEditor/Tastaturkombinationen",
                 tstyleUI  = "MediaWiki-Button/styles.css"
} -- Config



local Tree = {
TOOLBAR =             { menu     = 0,
                        entries  = { "UnDo",
                                     "ReDo",
                                     "Absatz",
                                     "SchriftAlle",
                                     "Link",
                                     "Belegen",
                                     "Listen",
                                     "InsertAll",
                                     "Sonderzeichen",
                                     "Hilfe",
                                     "Notes",
                                     "Seitenoptionen",
--                                   "Wikitext",
                                     "SwitchMode",
                                     "Speichern" } },
Absatz =              { menu     = 2,
                        links    = 1,
--                      slot     = "@toolbar-format-tooltip",
--                      slot     = "@toolbar-paragraph-format",
--                      slot     = "@shortcuts-formatting",
                        show     = "Absatz",
                        leader   = true,
                        smart    = "Absatz formatieren",
                        start    = "VisualEditor/Absatz",
                        swift    = "mainAbsatz",
                        entries  = { "Paragraf",
                                     "Headline2",
                                     "Headline3",
                                     "Headline4",
                                     "Headline5",
                                     "Headline6",
                                     "Vorformatiert",
                                     "Blockzitat",
                                     "Seitentitel" } },
Belegen =             { menu     = 2,
                        links    = 0.75,
                        before   = { img = "OOjs UI icon quotes-ltr.svg",
                                     px  = 12,
                                     top = true },
                        slot     = "citoid-citefromidtool-title",
                        show     = "Belegen",
                        shortcut = string.format( "Strg+%s+K",
                                                  Config.shift ),
                        start    = "Einzelnachweise/VisualEditor",
                        swift    = "mainCite" },
Citation =            { menu     = 2,
                        links    = 1,
                        slot     = "@citefromidtool-title",
                        show     = "Zitat",
                        smart    = "Belegen",
                        shortcut = string.format( "Strg+%s+K",
                                                  Config.shift ),
                        start    = "Einzelnachweise/VisualEditor",
                        swift    = "mainCite",
                        entries  = { "Einfach",
                                     "Weiterverwenden" } },
Hilfe =               { menu     = 2,
                        rechts   = 1,
                        slot     = "@help-tool",
                        icon     = "OOjs UI icon help-ltr.svg",
                        smart    = "Hilfe",
                        start    = "VisualEditor/Hilfe",
                        swift    = "top" },
InsertAll =           { menu     = 2,
                        links    = 0.5,
                        slot     = "@toolbar-insert",
                        smart    = "Elemente einfügen",
                        start    = "VisualEditor/Einfügen",
                        swift    = "mainInsert",
                        entries  = { "Medien",
                                     "Vorlage",
                                     "Tabelle",
                                     "Kommentar",
                                     "Hieroglyphen",
                                     "Notenschrift",
                                     "Unterschrift",
                                     "Galerie",
                                     "Chemistry",
                                     "Formel",
                                     "Karte",
                                     "Syntaxhighlight",
                                     "Diagramm",
                                     "Einzelnachweisliste",
                                     "Weniger" } },
-- InsertFew
Link =                { menu     = 2,
                        links    = 0.5,
                        icon     = "OOjs UI icon link-ltr.svg",
--                      slot     = "@",
                        show     = "Verlinken",
                        smart    = "Verlinken",
                        start    = "Links/VisualEditor",
                        swift    = "mainLink" },
                      -- annotationbutton-link-tooltip
                      -- linkinspector-button-link-external
Listen =              { menu     = 2,
                        links    = 1,
                        icon     = "OOjs UI icon listBullet-ltr.svg",
--                      slot     = "@toolbar-structure",
                        show     = "Listen",
                        shortcut = "Strg+K",
                        smart    = "Aufzählungen",
                        start    = "Listen/VisualEditor",
                        swift    = "mainList",
                        entries  = { "Liste",
                                     "Nummerierte",
                                     "EinzugWeniger",
                                     "EinzugMehr" } },
Notes =               { menu     = 2,
                        rechts   = 1,
                        icon     = "OOjs UI icon alert.svg",
                        slot     = "@editnotices-tooltip",
                        smart    = "Bearbeitungsnotizen",
                        start    = "VisualEditor/Bearbeitungsnotizen",
                        swift    = false },
ReDo =                { menu     = 2,
                        links    = 0.5,
                        icon     = "OOjs UI icon arched-arrow-ltr.svg",
                        slot     = "@historybutton-redo-tooltip",
                        shortcut = string.format( "Strg+%s+Z, Strg+Y",
                                                  Config.shift ),
                        smart    = "Wiederholen",
                        start    = "VisualEditor/Wiederholen",
                        swift    = false },
SchriftAlle =         { menu     = -2,
                        links    = 0.5,
                        icon     = "OOjs UI icon text-style.svg",
--                      slot     = "@toolbar-text-style",
--                      slot     = "@toolbar-style-tooltip",
--                      slot     = "@shortcuts-text-style",
                        show     = "Schrifteigenschaften",
                        smart    = "Text gestalten",
                        start    = "VisualEditor/Schrifteigenschaften",
                        swift    = "mainSchrift",
                        entries  = { "Fett",
                                     "Kursiv",
                                     "Hochstellen",
                                     "Tiefstellen",
                                     "Durchstreichen",
                                     "Computercode",
                                     "Unterstreichen",
                                     "Sprache",
                                     "Gross",
                                     "Klein",
                                     "Gestaltlos",
                                     "Weniger" } },
-- SchriftAllNix
-- SchriftKurz
-- SchriftKurzNix
Seitenoptionen =      { menu     = 2,
                        rechts   = 1,
                        slot     = "@pagemenu-tooltip",
--                      align    = "right",
                        less     = true,   -- no expand
                        icon     = "OOjs UI icon menu.svg",
                        smart    = "Seitenoptionen",
                        start    = "VisualEditor/Seitenoptionen",
                        swift    = "mainPageOpt",
                        entries  = { "Optionen",
                                     "Kategorien",
                                     "Seiteneinstellungen",
                                     "Erweiterte",
                                     "Sprachen",
                                     "TemplatesUsed",
                                     "CodeMirror",
                                     "ToggleTextDir",
                                     "Suchen" } },
-- SeitenoptionenCodem
-- SeitenoptionenCodemAktiv
Sonderzeichen =       { menu     = 2,
                        links    = 0.5,
                        icon     = "OOjs UI icon specialCharacter.svg",
                        slot     = "@specialcharacter-button-tooltip",
                        smart    = "Sonderzeichen",
                        start    = "VisualEditor/Sonderzeichen",
                        swift    = "mainChars" },
                        -- symbol-group
Speichern =           { menu        = -9,
                        rechts      = 1,
                        progressive = true,
                        slot     = "@toolbar-savedialog",
                        smart    = "Änderungen abspeichern",
                        start    = "VisualEditor/Speichern",
                        swift    = "mainSave" },
                        --         savedialog-label-save
SwitchMode =          { menu     = 2,
                        rechts   = 1,
                        icon     = "OOjs UI icon edit-ltr.svg",
                        show     = "Wikitext",
                        smart    = mw.message.new( "visualeditor-mweditmode-tooltip" ):plain(),
                        start    = "VisualEditor/Wikitext",
                        swift    = false,
                        entries  = { "SwitchVisual",
                                     "SwitchSource" } },
UnDo =                { menu     = 2,
                        links    = 0.5,
                        borderR  = false,
                        icon     = "OOjs UI icon arched-arrow-rtl.svg",
                        slot     = "@historybutton-undo-tooltip",
                        shortcut = "Strg+Z",
                        smart    = "Rückgängig machen",
                        start    = "VisualEditor/Rückgängig machen",
                        swift    = false },
Wikitext =            { menu     = 2,
                        rechts   = 1,
                        icon     = "OOjs UI icon wikiText.svg",
                        show     = "Wikitext",
--                      slot     = "@ca-editsource",
--                      slot     = "@ca-editsource-section",
                        smart    = "Zur Quelltextbearbeitung wechseln",
                        start    = "VisualEditor/Wikitext",
                        swift    = false },
-- Allgemein
Abbrechen =           { menu = 0,
                        slot = "@dialog-action-cancel" },
                        --       toolbar-cancel
ApplyChanges =        { menu        = -9,
                        rechts      = 1,
                        progressive = true,
                        slot     = "@dialog-action-apply",
                        smart    = "Änderungen abspeichern",
                        start    = false,
                        swift    = "mainSave" },
Mehr =                { menu = 0,
                        slot = "ooui-toolgroup-expand",
                        icon = "OOjs UI icon expand.svg" },
Weniger =             { menu = 0,
                        slot = "ooui-toolgroup-collapse",
                        icon = "OOjs UI icon collapse.svg" },
-- Absatz
Paragraf =            { menu = 3,
                        slot = "@formatdropdown-format-paragraph",
                        shortcut = "Strg+0" },
Headline2 =           { menu = 3,
                        slot = "@formatdropdown-format-mw-heading2",
                        style = "font-size:120%",
                        shortcut = "Strg+2" },
Headline3 =           { menu = 3,
                        slot = "@formatdropdown-format-mw-heading3",
                        style = "font-weight:bold",
                        shortcut = "Strg+3" },
Headline4 =           { menu = 3,
                        slot = "@formatdropdown-format-mw-heading4",
                        style = "font-size:90%",
                        shortcut = "Strg+4" },
Headline5 =           { menu = 3,
                        slot = "@formatdropdown-format-mw-heading5",
                        style = "font-size:80%",
                        shortcut = "Strg+5" },
Headline6 =           { menu = 3,
                        slot = "@formatdropdown-format-mw-heading6",
                        style = "font-size:70%",
                        shortcut = "Strg+6" },
Vorformatiert =       { menu = 3,
                        slot = "@formatdropdown-format-preformatted",
                        style = "font-family:monospace",
                        shortcut = "Strg+7" },
Blockzitat =          { menu = 3,
                        slot = "@formatdropdown-format-blockquote",
                        shortcut = "Strg+8" },
Seitentitel =         { menu = 3,
                        slot = "@formatdropdown-format-mw-heading1",
                        style = "font-size:150%",
                        shortcut = "Strg+1" },
-- Belegen
--                    cite-ve-toolbar-group-label
--                    cite-ve-dialogbutton-reference-title
--                    cite-ve-reference-input-placeholder
Einfach =             { menu = 3,
                        slot = "cite-ve-dialogbutton-reference-tooltip",
                        icon = "VisualEditor icon reference-ltr.svg" },
Weiterverwenden =     { menu = 3,
                        slot = "cite-ve-dialog-reference-useexisting-tool",
                        icon = "VisualEditor icon reference-existing-ltr.svg" },
-- Insert
Medien =              { menu = 3,
                        icon = "OOjs UI icon image-ltr.svg",
--                      slot = "@dialog-media-insert-button",
                        slot = "@dialogbutton-media-tooltip" },
Vorlage =             { menu = 3,
                        icon = "OOjs UI icon puzzle-ltr.svg",
                        slot = "@dialogbutton-template-tooltip" },
Tabelle =             { menu = 3,
                        icon = "OOjs UI icon table.svg",
                        slot = "@toolbar-table" },
Kommentar =           { menu = 3,
                        icon = "OOjs UI icon notice.svg",
                        px   = 18,
                        slot = "@commentinspector-tooltip" },
Hieroglyphen =        { menu = 3,
                        icon = "OOjs UI icon hiero.svg",
                        px   = 18,
                        slot = "wikihiero-visualeditor-mwhieroinspector-title" },
Syntaxhighlight =     { menu = 3,
                        icon = "OOjs UI icon markup.svg",
                        slot = "syntaxhighlight-visualeditor-mwsyntaxhighlightinspector-title" },
Notenschrift =        { menu = 3,
                        icon = "OOjs UI icon score.svg",
                        slot = "score-visualeditor-mwscoreinspector-title" },
Unterschrift =        { menu = 3,
                        icon = "OOjs UI icon signature-ltr.svg",
                        slot = "@mwsignature-tool" },
Galerie =             { menu = 3,
                        icon = "OOjs UI icon imageGallery-ltr.svg",
                        slot = "@mwgallerydialog-title" },
Chemistry =           { menu = 3,
                        icon = "OOjs UI icon chem.svg",
                        --      math-visualeditor-mwcheminspector-title
                        slot = "math-visualeditor-mwchemdialog-title" },
Formel =              { menu = 3,
                        icon = "OOjs UI icon math.svg",
                        --      math-visualeditor-mwmathinspector-title
                        slot = "math-visualeditor-mwmathdialog-title" },
Karte =               { menu = 3,
                        icon = "OOjs UI icon map-ltr.svg",
                        slot = "@mwmapsdialog-title" },
Diagramm =            { menu = 3,
                        icon = "OOjs UI icon graph.svg",
                        slot = "graph-ve-dialog-button-tooltip" },
Einzelnachweisliste = { menu = 3,
                        icon = "VisualEditor icon references-ltr.svg",
                        slot = "cite-ve-dialogbutton-referenceslist-tooltip" },
-- Listen
Liste =               { menu = 3,
                        slot = "@listbutton-bullet-tooltip",
                        icon = "OOjs UI icon listBullet-ltr.svg" },
Nummerierte =         { menu = 3,
                        slot = "@listbutton-number-tooltip",
                        icon = "OOjs UI icon listNumbered-ltr.svg" },
EinzugWeniger =       { menu = 3,
                        slot = "@indentationbutton-outdent-tooltip",
                        icon = "OOjs UI icon outdent-ltr.svg",
                        shortcut = string.format( "%s+Tab, Strg+[",
                                                  Config.shift ) },
EinzugMehr =          { menu = 3,
                        slot = "@indentationbutton-indent-tooltip",
                        icon = "OOjs UI icon indent-ltr.svg",
                        shortcut = "Tab, Strg+]" },
-- Medien
Hochladen =           { menu = 4,
                        icon = "OOjs UI icon upload-ltr.svg",
                        slot = "@dialog-media-upload" },
-- Schrift
Computercode =        { menu = 3,
                        icon = "OOjs UI icon code.svg",
                        slot = "@annotationbutton-code-tooltip",
                        shortcut = string.format( "Strg+%s+6",
                                                  Config.shift ) },
Durchstreichen =      { menu = 3,
                        icon = "OOjs UI icon strikethrough-a.svg",
                        slot = "@annotationbutton-strikethrough-tooltip",
                        shortcut = string.format( "Strg+%s+5",
                                                  Config.shift ) },
Fett =                { menu = 3,
                        icon = "OOjs UI icon bold-f.svg",
                        slot = "@annotationbutton-bold-tooltip",
                        shortcut = "Strg+B" },
Gross =               { menu = 3,
                        icon = "OOjs UI icon bigger-ltr.svg",
                        slot = "@annotationbutton-big-tooltip" },
Hochstellen =         { menu = 3,
                        icon = "OOjs UI icon superscript-ltr.svg",
                        slot = "@annotationbutton-superscript-tooltip",
                        shortcut = "Strg+." },
Klein =               { menu = 3,
                        icon = "OOjs UI icon smaller-ltr.svg",
                        slot = "@annotationbutton-small-tooltip" },
Kursiv =              { menu = 3,
                        icon = "OOjs UI icon italic-k.svg",
                        slot = "@annotationbutton-italic-tooltip",
                        shortcut = "Strg+I" },
Sprache =             { menu = 3,
                        icon = "OOjs UI icon language-ltr.svg",
                        slot = "@annotationbutton-language-tooltip" },
Tiefstellen =         { menu = 3,
                        icon = "OOjs UI icon subscript-ltr.svg",
                        slot = "@annotationbutton-subscript-tooltip",
                        shortcut = "Strg+," },
Unterstreichen =      { menu = 3,
                        icon = "OOjs UI icon underline-u.svg",
                        slot = "@annotationbutton-underline-tooltip",
                        shortcut = "Strg+U" },
Gestaltlos =          { menu = 3,
                        icon = "OOjs UI icon cancel.svg",
                        slot = "@clearbutton-tooltip" },
GestaltlosNix =       { menu = 3,
                        icon = "OOjs UI icon cancel.svg",
                        slot = "@clearbutton-tooltip",
                        lowered = true },
-- Seitenoptionen
Optionen =            { menu  = 3,
                        icon  = "OOjs UI icon window.svg",
--                      show  = "Optionen",
                        slot  = "@dialog-meta-title" },
Kategorien =          { menu  = 3,
                        icon  = "OOjs UI icon tag.svg",
                        slot  = "@dialog-meta-categories-data-label",
                        start = "Kategorien/VisualEditor",
                        swift = "optsCat" },
Seiteneinstellungen = { menu  = 3,
                        icon  = "OOjs UI icon pageSettings.svg",
                        slot  = "@dialog-meta-settings-label",
                        start = "VisualEditor/Seiteneinstellungen",
                        swift = "optsPage" },
Erweiterte =          { menu  = 3,
                        icon  = "OOjs UI icon advanced.svg",
                        slot  = "@dialog-media-page-advanced",
                        start = "VisualEditor/Erweiterte Einstellungen",
                        swift = "optsAdvanced" },
Sprachen =            { menu  = 3,
                        slot  = "@dialog-meta-languages-label",
                        icon  = "OOjs UI icon language-ltr.svg",
                        start = "Internationalisierung/VisualEditor",
                        swift = "optsLang" },
TemplatesUsed =       { menu  = 3,
                        icon  = "OOjs UI icon puzzle-ltr.svg",
                        slot  = "@templatesused-tool",
                        start = "VisualEditor/Verwendete Vorlagen",
                        swift = "optsTmplUsed" },
CodeMirror =          { menu    = 3,
                        icon    = "OOjs UI icon highlight.svg",
                        slot    = "codemirror-toggle-label",
                        start   = "VisualEditor/CodeMirror",
                        swift   = "optsCodem",
                        lowered = true
                      },
-- CodeMirrorAktiv
-- CodeMirrorInaktiv
ToggleTextDir =       { menu  = 3,
                        icon  = "OOjs UI icon text-dir-righttoleft.svg",
                        slot  = "@changedir-tool-rtl",
                        start = "VisualEditor/Textausrichtung",
                        swift = "optsTextDir",
                        shortcut = string.format( "Strg+%s+X",
                                                  Config.shift ) },
Suchen =              { menu  = 3,
                        show  = "Suchen und Ersetzen",
                        icon  = "OOjs UI icon articleSearch-ltr.svg",
                        slot  = "@dialog-media-search-tab-search",
                        start = "VisualEditor/Suchen und Ersetzen",
                        swift = "optsSearch",
                        shortcut = "Strg+F" },
SourceEdit =          { menu  = -2,
                        icon  = "OOjs UI icon edit-ltr.svg",
                        show  = "Wikitext",
                        start = "VisualEditor/Wikitext" },
SwitchSource =        { menu  = 3,
                        icon  = "OOjs UI icon wikiText.svg",
--                      show  = "Zur Quelltextbearbeitung wechseln",
                        slot  = "@mweditmodesource-tool-current",
--                      slot  = "@ca-editsource",
--                      slot  = "@ca-editsource-section",
                        start = "VisualEditor/Wikitext",
                        swift = false },
SwitchVisual =        { menu  = 3,
                        icon  = "OOjs UI icon eye.svg",
                        slot  = "@mweditmodeve-tool-current",
                        start = "VisualEditor/Wikitext",
                        swift = false },
-- Extras
MathGroup =           { menu = -2,
                        entries  = { "MathItemAccents",
                                     "MathItemFunctions",
                                     "MathItemBounds",
                                     "MathItemProjections",
                                     "MathItemDerivatives",
                                     "MathItemSymbols",
                                     "MathItemModular",
                                     "MathItemRoot",
                                     "MathItemOperators",
                                     "MathItemSets",
                                     "MathItemRelations",
                                     "MathItemGeometry",
                                     "MathItemLogic",
                                     "MathItemArrows",
                                     "MathItemSpecial",
                                     "MathItemUnsorted",
                                     "MathItemGreek",
                                     "MathItemHebrew",
                                     "MathItemTypefaces",
                                     "MathItemSpacing",
                                     "MathItemParentheses",
                                     "MathItemMatrices",
                                     "MathItemSubscripts",
                                     "MathItemLarge" } },
MathItemAccents     = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-accents" },
MathItemFunctions   = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-functions" },
MathItemBounds      = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-bounds" },
MathItemProjections = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-projections" },
MathItemDerivatives = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-derivatives" },
MathItemSymbols     = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-symbols" },
MathItemModular     = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-modular" },
MathItemRoot        = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-root" },
MathItemOperators   = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-operators" },
MathItemSets        = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-sets" },
MathItemRelations   = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-relations" },
MathItemGeometry    = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-geometry" },
MathItemLogic       = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-logic" },
MathItemArrows      = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-arrows" },
MathItemSpecial     = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-special" },
MathItemUnsorted    = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-unsorted" },
MathItemGreek       = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-greek" },
MathItemHebrew      = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-hebrew" },
MathItemTypefaces   = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-typefaces" },
MathItemSpacing     = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-spacing" },
MathItemParentheses = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-parentheses" },
MathItemMatrices    = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-matrices" },
MathItemSubscripts  = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-subscripts" },
MathItemLarge       = { menu = -2,
                        slot = "math-visualeditor-symbol-group-math-large" },
PageOptOptions     =  { menu = -2,
                        entries  = { "Kategorien",
                                     "Seiteneinstellungen",
                                     "Erweiterte",
                                     "Sprachen",
                                     "TemplatesUsed" } },
TemplateTransclude =  { menu = -2,
                        entries  = { "TemplateName",
                                     "TemplateParMand",
                                     "TemplateParOpt",
                                     "TemplateMore" } },
TemplateName =        { menu = 3,
                        show = "'''Vorlagenname'''",
                        icon = "OOjs UI icon puzzle-ltr.svg" },
TemplateParMand =     { menu = 3,
                        show = "'''Parameter-1'''",
                        icon = "VisualEditor icon parameter-ltr.svg",
                        iconRight = "OOjs UI indicator required.svg",
                        pxR       = 10 },
TemplateParOpt =      { menu = 3,
                        show = "'''Parameter-2'''",
                        icon = "VisualEditor icon parameter-ltr.svg" },
TemplateMore =        { menu = 3,
                        show = "Weitere Informationen",
                        icon = "VisualEditor icon parameter-ltr.svg" }
} -- Tree



if mw.site.server:find( "//de.wikipedia.org", 1, true ) then
    table.remove ( Tree.InsertAll.entries, 11 )    -- Kartographer
end


Export.config   = Config
Export.tree     = Tree
Export.failsafe = Export.serial

return Export