JsonSchema:Core/EditDataUI
JsonSchema:Core/EditDataUI
From Wikisphere
Jump to navigation
Jump to search
| type | "object" |
|---|
| $id | "https://wikisphere.org/wiki/JsonSchema:Core/EditDataUI" |
|---|
| x-compact | true |
|---|
| required | |
|---|
| x-default-properties | | "form" |
| "categories" |
| "footer" |
|
|---|
| definitions | | newSchema | | type | "object" |
|---|
| $id | "SelectSchema" |
|---|
| x-watch | "schema" |
|---|
| title | "Edit schema" |
|---|
| properties | | schema | | type | "string" |
|---|
| title | "JSON Schema" |
|---|
| default | "" |
|---|
| x-format | "text" |
|---|
| x-input | "OO.ui.DropdownInputWidget" |
|---|
| x-enum-provider | "jsonSchemas" |
|---|
|
|---|
| preview | | x-compact | "true" |
|---|
| x-css-class | "jsonforms-editdata-preview" |
|---|
| x-watch | "schema" |
|---|
| links | | rel | "describedBy" |
|---|
| href | "JsonSchema:{{schema}}" |
|---|
| x-no-validate | true |
|---|
|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
| properties | | form | | x-layout | "tabs" |
|---|
| x-compact | true |
|---|
| properties | | schema | | type | "object" |
|---|
| x-compact | true |
|---|
| additionalProperties | | type | "object" |
|---|
| x-compact | true |
|---|
| properties | | schemaName | | type | "string" |
|---|
| x-format | "hidden" |
|---|
|
|---|
| editor | | x-message | | x-label-template | "Using schema <a href="{{replace wgArticlePath '$1' 'JsonSchema:'}}{{schemaName}}">JsonSchema:{{schemaName}}</a>" |
|---|
|
|---|
| x-watch | "schemaName" |
|---|
| links | | rel | "describedBy" |
|---|
| href | "JsonSchema:{{schemaName}}" |
|---|
|
|
|---|
|
|---|
|
|---|
| required | |
|---|
|
|---|
| maxProperties | 1 |
|---|
| x-ui-schema | | label | "New schema" |
|---|
| schema | "#/definitions/newSchema" |
|---|
| name | "newSchema" |
|---|
| popup_size | "large" |
|---|
|
|---|
|
|---|
| options | | x-compact | true |
|---|
| properties | | show_infobox | | type | "boolean" |
|---|
| title | "Show Infobox" |
|---|
| description | "Whether to show an infobox on the target page" |
|---|
| default | true |
|---|
|
|---|
| infobox_position | | type | "string" |
|---|
| title | "Infobox position" |
|---|
| enum | | "right" |
| "left" |
| "top" |
| "bottom" |
|
|---|
| default | "right" |
|---|
| x-dependency | | path | "show_infobox" |
|---|
| op | "==" |
|---|
| value | true |
|---|
|
|---|
|
|---|
| infobox_template | | type | "string" |
|---|
| title | "Infobox template" |
|---|
| description | "Template to use (leave empty for automatic generation)" |
|---|
| default | "" |
|---|
| x-input | "mw.widgets.TitleInputWidget" |
|---|
| x-input-config | |
|---|
| x-dependency | | path | "show_infobox" |
|---|
| op | "==" |
|---|
| value | true |
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
| categories | | x-padding | true |
|---|
| title | "Categories" |
|---|
| type | "array" |
|---|
| items | | type | "string" |
|---|
| x-input | "categorymultiselect" |
|---|
|
|---|
|
|---|
| footer | | x-compact | true |
|---|
| x-css-class | "jsonforms-outerform-footer" |
|---|
| x-default-properties | | "summary" |
| "minor" |
| "buttons" |
|
|---|
| properties | | summary | |
|---|
| minor | | type | "boolean" |
|---|
| title | "" |
|---|
| description | "This is a [https://www.mediawiki.org/wiki/Help:Minor_edit minor edit]" |
|---|
| x-description-format | "wikitext" |
|---|
| x-input | "checkbox" |
|---|
| x-control-config | |
|---|
|
|---|
| buttons | | type | "object" |
|---|
| x-layout | "horizontal" |
|---|
| x-compact | true |
|---|
| properties | | submit | | type | "null" |
|---|
| title | "Save changes" |
|---|
| x-format | "button" |
|---|
| x-button-action | "submitButton" |
|---|
| x-input-config | |
|---|
|
|---|
| cancel | | type | "null" |
|---|
| title | "Cancel" |
|---|
| x-format | "button" |
|---|
| x-button-action | "cancelButton" |
|---|
| x-input-config | |
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|