VisualDataSchema:Insert article: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
"title": { | "title": { | ||
"wiki": { | "wiki": { | ||
"name": "title", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"required": true, | |||
"label-parsed": "Title", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [] | "input-config": [] | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 23: | Line 24: | ||
"author": { | "author": { | ||
"wiki": { | "wiki": { | ||
"name": "author", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"required": true, | |||
"label-parsed": "Author", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [] | "input-config": [] | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 37: | Line 39: | ||
"date": { | "date": { | ||
"wiki": { | "wiki": { | ||
"name": "date", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"required": true, | |||
"label-parsed": "Date", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "mw.widgets.DateInputWidget", | "preferred-input": "mw.widgets.DateInputWidget", | ||
"input-config": [] | "input-config": [] | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 51: | Line 54: | ||
"topic": { | "topic": { | ||
"wiki": { | "wiki": { | ||
"name": "topic", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"label-parsed": "Topic", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
Line 63: | Line 67: | ||
"title": "Topic" | "title": "Topic" | ||
}, | }, | ||
" | "cover": { | ||
"wiki": { | "wiki": { | ||
"type": "property", | |||
"name": "cover", | |||
"visibility": "visible", | |||
"multiple-items": false, | |||
"type": " | "preferred-input": "OO.ui.SelectFileWidget", | ||
"input-config": { | |||
"accept": [ | |||
"image/svg+xml", | |||
"image/png", | |||
"image/gif", | |||
"image/jpeg", | |||
"image/pjpeg", | |||
"image/jpeg", | |||
"image/pjpeg", | |||
"image/webp", | |||
"application/pdf", | |||
"image/tiff", | |||
"image/x-tiff", | |||
"image/bmp", | |||
"image/x-windows-bmp" | |||
] | |||
}, | }, | ||
" | "required": false | ||
}, | }, | ||
"type": " | "type": "string", | ||
" | "format": "text", | ||
" | "title": "Cover" | ||
} | } | ||
}, | }, |
Revision as of 14:10, 7 February 2024
wiki |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title | "Insert article" |