{
  "title": "{{SELECT IF('{{action:SE}}' = 'new', 'Add wiki content', 'Edit wiki content') }}",
  "noteInternal": "wiki content editor",
  "tableName": "WikiPage",
  "primaryKey": "",
  "permitNew": "sip",
  "permitEdit": "sip",
  "restMethod": "",
  "escapeTypeDefault": "c",
  "render": "bootstrap",
  "requiredParameterNew": "",
  "requiredParameterEdit": "",
  "dirtyMode": "exclusive",
  "showButton": "close,save",
  "multiMode": "none",
  "multiSql": "",
  "multiDetailForm": "",
  "multiDetailFormParameter": "",
  "forwardMode": "url",
  "forwardPage": "{{pageSlug:T}}?wpId={{id:R0}}#{{headingTitle:SE}}",
  "labelAlign": "default",
  "bsLabelColumns": "",
  "bsInputColumns": "",
  "bsNoteColumns": "",
  "parameter": "dbIndex = {{indexWiki:Y}}",
  "parameterLanguageA": "",
  "parameterLanguageB": "",
  "parameterLanguageC": "",
  "parameterLanguageD": "",
  "recordLockTimeoutSeconds": 900,
  "deleted": "no",
  "modified": "2025-03-18 09:29:11",
  "created": "2023-05-10 10:48:25",
  "FormElement_ff": [
    {
      "dynamicUpdate": "no",
      "encryption": "no",
      "encryptionMethod": "Default",
      "enabled": "yes",
      "name": "myEditorPill",
      "label": "Editor",
      "mode": "show",
      "modeSql": "",
      "class": "container",
      "type": "pill",
      "subrecordOption": "",
      "encode": "specialchar",
      "checkType": "auto",
      "checkPattern": "",
      "onChange": "",
      "ord": 10,
      "tabindex": 0,
      "size": "",
      "maxLength": "",
      "labelAlign": "default",
      "bsLabelColumns": "",
      "bsInputColumns": "",
      "bsNoteColumns": "",
      "rowLabelInputNote": "row,label,\/label,input,\/input,note,\/note,\/row",
      "note": "",
      "adminNote": "",
      "tooltip": "",
      "placeholder": "",
      "value": "",
      "sql1": "",
      "parameter": "",
      "parameterLanguageA": "",
      "parameterLanguageB": "",
      "parameterLanguageC": "",
      "parameterLanguageD": "",
      "clientJs": "",
      "deleted": "no",
      "modified": "2025-03-18 09:29:11",
      "created": "2023-07-18 15:54:02"
    },
    {
      "dynamicUpdate": "no",
      "encryption": "no",
      "encryptionMethod": "Default",
      "enabled": "yes",
      "name": "content",
      "label": "",
      "mode": "show",
      "modeSql": "",
      "class": "native",
      "type": "editor",
      "subrecordOption": "",
      "encode": "none",
      "checkType": "all",
      "checkPattern": "",
      "onChange": "",
      "ord": 20,
      "tabindex": 0,
      "size": "",
      "maxLength": "",
      "labelAlign": "default",
      "bsLabelColumns": "",
      "bsInputColumns": "12",
      "bsNoteColumns": "",
      "rowLabelInputNote": "row,input,\/input,\/row",
      "note": "",
      "adminNote": "",
      "tooltip": "",
      "placeholder": "",
      "value": "{{wikiPageContent:VE::S}}",
      "sql1": "",
      "parameter": "editor-toolbar=code searchreplace undo redo | styles fontfamily fontsize forecolor backcolor | bullist numlist outdent indent | link table image | visualchars visualblocks fullscreen\r\neditor-height=600\r\neditor-image_class_list = [{\"title\":\"Max. width\",\"menu\":[{\"title\":\"25%\",\"value\":\"qfq-img-25\"},{\"title\":\"50%\",\"value\":\"qfq-img-50\"},{\"title\":\"75%\",\"value\":\"qfq-img-75\"},{\"title\":\"100%\",\"value\":\"qfq-img-100\"}, {\"title\":\"No Style\",\"value\":\"\"}]},{\"title\":\"Max. width (modal)\",\"menu\":[{\"title\":\"25% (modal) \",\"value\":\"qfq-img-25 qfq-img-modal\"},{\"title\":\"50% (modal)\",\"value\":\"qfq-img-50 qfq-img-modal\"},{\"title\":\"75% (modal)\",\"value\":\"qfq-img-75 qfq-img-modal\"},{\"title\":\"100% (modal)\",\"value\":\"qfq-img-100 qfq-img-modal\"}, {\"title\":\"No Style\",\"value\":\"\"}]}]\r\nfileUploadPath=fileadmin\/wiki{{pageSlug:T}}\/img\r\nextraButtonInfo=<strong>Macros<\/strong><\/br><ul><li>{{toc}}<\/br>Creates a table of contents with links to the headings on the current page. If no headings are found, '{{toc}}' is returned.<\/li><li>{{childPages}}<\/br> Generates a list of links to the child pages of the current page. If no child pages are found, '{{childPages}}' is returned.<\/li><li>{{<i>wikiPage<\/i>#<i>Heading<\/i>}}<\/br>Creates a link to a wiki page within the same wiki by replacing <i>wikiPage<\/i> with the name of the wiki page and <i>Heading<\/i> with the title of the paragraph. If the wiki page is not found, '{{<i>wikiPage<\/i>#<i>Heading<\/i>}}' is returned.<\/li><li>{{<i>pageSlug<\/i>\/<i>wikiPage<\/i>#<i>Heading<\/i>}}<\/br>Creates a link to a wiki page in another wiki by replacing <i>pageSlug<\/i> with the page slug of the wiki, <i>wikiPage<\/i> with the name of the wiki page and <i>Heading<\/i> with the title of the paragraph. If the wiki page is not found, '{{<i>pageSlug<\/i>\/<i>wikiPage<\/i>#<i>Heading<\/i>}}' is returned.<\/li><li>{{collapse(<i>[Text is shown]<\/i>)}}<\/br>Text is hidden.<\/br>{{collapse}}<\/br>Creates a toggleable element, that will show\/hide text. Text within <i>[ ]<\/i> is optional.<\/li><\/ul><\/br>Important:<\/br>{{toc}}, {{childPages}}, {{collapse([Text is shown])}}, {{collapse}} must be used on a separate line to ensure their functionality.<\/br><\/br><strong>Link to file<\/strong><\/br><ol><li>Copy the path from the \"Upload\" tab<\/li><li>Insert a link in the editor<\/li><li>Paste the path into the field \"Url\"<\/li><\/ol><\/br>For further information, visit <a href=\"https:\/\/docs.qfq.io\/en\/master\/Wiki.html\" target=\"_blank\">QFQ documentation<\/a>.",
      "parameterLanguageA": "",
      "parameterLanguageB": "",
      "parameterLanguageC": "",
      "parameterLanguageD": "",
      "clientJs": "",
      "feGroup": "",
      "deleted": "no",
      "modified": "2025-04-04 14:57:24",
      "created": "2023-05-10 11:02:27",
      "containerName_ff": "myEditorPill"
    },
    {
      "dynamicUpdate": "no",
      "encryption": "no",
      "encryptionMethod": "Default",
      "enabled": "yes",
      "name": "myUploadPill",
      "label": "Upload",
      "mode": "show",
      "modeSql": "",
      "class": "container",
      "type": "pill",
      "subrecordOption": "",
      "encode": "specialchar",
      "checkType": "auto",
      "checkPattern": "",
      "onChange": "",
      "ord": 30,
      "tabindex": 0,
      "size": "",
      "maxLength": "",
      "labelAlign": "default",
      "bsLabelColumns": "",
      "bsInputColumns": "",
      "bsNoteColumns": "",
      "rowLabelInputNote": "row,label,\/label,input,\/input,note,\/note,\/row",
      "note": "",
      "adminNote": "",
      "tooltip": "",
      "placeholder": "",
      "value": "",
      "sql1": "",
      "parameter": "",
      "parameterLanguageA": "",
      "parameterLanguageB": "",
      "parameterLanguageC": "",
      "parameterLanguageD": "",
      "clientJs": "",
      "deleted": "no",
      "modified": "2025-03-18 09:29:11",
      "created": "2023-07-18 15:54:47"
    },
    {
      "dynamicUpdate": "no",
      "encryption": "no",
      "encryptionMethod": "Default",
      "enabled": "yes",
      "name": "myUploadReport",
      "label": "",
      "mode": "show",
      "modeSql": "",
      "class": "native",
      "type": "note",
      "subrecordOption": "",
      "encode": "specialchar",
      "checkType": "auto",
      "checkPattern": "",
      "onChange": "",
      "ord": 40,
      "tabindex": 0,
      "size": "",
      "maxLength": "",
      "labelAlign": "default",
      "bsLabelColumns": "",
      "bsInputColumns": "12",
      "bsNoteColumns": "",
      "rowLabelInputNote": "row,input,\/input,\/row",
      "note": "",
      "adminNote": "",
      "tooltip": "",
      "placeholder": "",
      "value": "#!report\r\n#\r\n#\r\n\r\n# \"Fake subrecord\" listing all uploads of this wiki page \r\n10 {\r\n  sql = SELECT CONCAT('p:{{pageSlug:T}}&form=wikiUpload&r=', id, '|s|b|E') AS _link\r\n\t\t\t\t\t\t\t, CONCAT('F:', pathFileName\r\n\t\t\t\t\t\t\t\t\t\t\t, '|t:', QLEFT(SUBSTRING_INDEX(pathFileName, '\/', -1), 30)\r\n\t\t\t\t\t\t\t\t\t\t\t, '|d:', SUBSTRING_INDEX(pathFileName, '\/', -1)\r\n\t\t\t\t\t\t\t\t\t\t\t, '|o:', SUBSTRING_INDEX(pathFileName, '\/', -1)\r\n\t\t\t\t\t\t\t\t\t\t\t, '|s|b|g:_blank|G:glyphicon glyphicon-paperclip|M:file'\r\n\t\t\t\t\t\t\t\t\t\t\t) AS _link\r\n\t\t\t\t\t\t\t, QIFEMPTY(feUser, 'anonymous')\r\n\t\t\t\t\t\t\t, created\r\n\t\t\t\t\t\t\t, CONCAT('y:', pathFileName) AS _yank\r\n\t\t\t\t\t\t\t, CONCAT('U:table=WikiAttachment&r=', id, '|q:Do you want to delete <i>', SUBSTRING_INDEX(pathFileName, '\/', -1), '<\/i> ?') AS _paged\r\n\t\t\t\tFROM WikiAttachment\r\n        WHERE wpId = '{{wpIdPrevious:S0}}'\r\n          AND pathFileName != ''\r\n        ORDER BY modified ASC\r\n\r\n  shead = <div style=\"margin-right:-5px; margin-left:-15px;\">\r\n\t\t\t\t\t\t<table class=\"table table-hover qfq-table-100 qfq-subrecord-table qfq-color-grey-2\">\r\n\t\t\t  \t\t<caption class=\"qfq-subrecord-title\">Files<\/caption>\r\n              <thead>\r\n                <tr>\r\n                  <th style=\"width: 40px;\">{{'p:{{pageSlug:T}}&form=wikiUpload&r=0&wpId={{wpIdPrevious:S0}}|s|b|N' AS _link}}<\/th>\r\n  head =\t\t\t\t\t<th>File<\/th>\r\n                  <th>User<\/th>\r\n                  <th>Date<\/th>\r\n                  <th style=\"width: 40px;\">Copy path<\/th><th style=\"width: 40px;\"><\/th>\r\n                <\/tr>\r\n              <\/thead>\r\n              <tbody>\r\n  stail = \t<\/table>\r\n          <\/div>\r\n  tail = <\/tbody>\r\n  fbeg = <td>\r\n  fend = <\/td>\r\n  rbeg = <tr>\r\n  rend = <\/tr>      \r\n}",
      "sql1": "",
      "parameter": "",
      "parameterLanguageA": "",
      "parameterLanguageB": "",
      "parameterLanguageC": "",
      "parameterLanguageD": "",
      "clientJs": "",
      "deleted": "no",
      "modified": "2025-03-18 09:29:11",
      "created": "2023-07-18 15:55:18",
      "containerName_ff": "myUploadPill"
    },
    {
      "dynamicUpdate": "no",
      "encryption": "no",
      "encryptionMethod": "Default",
      "enabled": "yes",
      "name": "myBeforeLoad",
      "label": "",
      "mode": "show",
      "modeSql": "",
      "class": "action",
      "type": "beforeLoad",
      "subrecordOption": "",
      "encode": "specialchar",
      "checkType": "auto",
      "checkPattern": "",
      "onChange": "",
      "ord": 50,
      "tabindex": 0,
      "size": "",
      "maxLength": "",
      "labelAlign": "default",
      "bsLabelColumns": "",
      "bsInputColumns": "",
      "bsNoteColumns": "",
      "rowLabelInputNote": "row,label,\/label,input,\/input,note,\/note,\/row",
      "note": "",
      "adminNote": "",
      "tooltip": "",
      "placeholder": "",
      "value": "",
      "sql1": "",
      "parameter": "sqlAfter = {{F:typo3conf\/ext\/qfq\/wikiScript.php|call:loadWikiContent|arg:wpIdPrevious={{wpIdPrevious:S0}}&sectionId={{sectionId:S0}}&action={{action:SE}} AS script}}",
      "parameterLanguageA": "",
      "parameterLanguageB": "",
      "parameterLanguageC": "",
      "parameterLanguageD": "",
      "clientJs": "",
      "deleted": "no",
      "modified": "2025-03-18 09:30:25",
      "created": "2025-03-14 08:08:15"
    },
    {
      "dynamicUpdate": "no",
      "encryption": "no",
      "encryptionMethod": "Default",
      "enabled": "yes",
      "name": "myAfterSave",
      "label": "",
      "mode": "show",
      "modeSql": "",
      "class": "action",
      "type": "afterSave",
      "subrecordOption": "",
      "encode": "specialchar",
      "checkType": "auto",
      "checkPattern": "",
      "onChange": "",
      "ord": 60,
      "tabindex": 0,
      "size": "",
      "maxLength": "",
      "labelAlign": "default",
      "bsLabelColumns": "",
      "bsInputColumns": "",
      "bsNoteColumns": "",
      "rowLabelInputNote": "row,label,\/label,input,\/input,note,\/note,\/row",
      "note": "",
      "adminNote": "",
      "tooltip": "",
      "placeholder": "",
      "value": "",
      "sql1": "",
      "parameter": "sqlAfter = {{F:typo3conf\/ext\/qfq\/wikiScript.php|call:updateWikiPage|arg:sectionIdStart={{sectionId:S0}}&sectionIdEnd={{sectionIdEnd:S0}}&wpIdPrevious={{wpIdPrevious:S0}}&wpIdCurrent={{id:R0}}&action={{action:SE}}&feUser={{feUser:TE:::anonymous}} AS script}}",
      "parameterLanguageA": "",
      "parameterLanguageB": "",
      "parameterLanguageC": "",
      "parameterLanguageD": "",
      "clientJs": "",
      "deleted": "no",
      "modified": "2025-03-18 09:29:11",
      "created": "2025-03-13 17:03:49"
    }
  ]
}