Page upload: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 20: | Line 20: | ||
                     "file": {  |                      "file": {  | ||
                         "wiki": {  |                          "wiki": {  | ||
                            "name": "file",  | |||
                             "type": "property",  |                              "type": "property",  | ||
                             "multiple-items": false,  |                              "multiple-items": false,  | ||
                             "  |                              "required": true,  | ||
                             "input-config": {  |                              "input-config": {  | ||
                                 "accept": [  |                                  "accept": [  | ||
| Line 42: | Line 41: | ||
                                 "showDropTarget": true  |                                  "showDropTarget": true  | ||
                             },  |                              },  | ||
                             "  |                              "label-parsed": "file",  | ||
                            "value-prefix": "File:",  | |||
                            "visibility": "visible",  | |||
                            "preferred-input": "OO.ui.SelectFileWidget",  | |||
                             "value-formula": "{{PAGEID}}-\u003Cvalue\u003E"  |                              "value-formula": "{{PAGEID}}-\u003Cvalue\u003E"  | ||
                         },  |                          },  | ||
| Line 76: | Line 78: | ||
         }  |          }  | ||
     },  |      },  | ||
     "type": "object"  |      "type": "object",  | ||
    "description": "a multiple upload with file select and caption, that saves files under the page with this schema, using the pageId as prefix"  | |||
}  | }  | ||
Revision as of 09:16, 30 October 2023
| wiki | 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| properties | 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | "object" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description | "a multiple upload with file select and caption, that saves files under the page with this schema, using the pageId as prefix" |