Skip to content

Extension and standalone js lib to support storing and editing of structured data and meta data based on MultiContentRevisions, json, json-schema and json-ld.

License

Notifications You must be signed in to change notification settings

OpenSemanticLab/mediawiki-extensions-MwJson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mediawiki-extensions-MwJson

Extension and standalone js lib to support storing and editing of structured data and meta data based on MultiContentRevisions, json, json-schema and json-ld.

See also T324933

grafik

Config

{
    "wgMwJsonAllowSubmitInvalide": {
        "value": "always",
        "description": "Forbid ('never'), conditional if set in schema option ('option') or always ('always') allow the user to save data failing schema validation."
    },
    "wgMwJsonAiCompletionApiUrl": {
        "value": null,
        "description": "REST-API endpoint acception {\"promt\": \"...\", \"jsonschema\": \"\"} and returning a valide schema instance."
    },
    "wgMwJsonOrderSlotRenderResults": {
        "value": false,
        "description": "Brings the render results of the slots into order 'header', 'main', 'footer', <additional slots>."
    },
    "wgMwJsonWrapSlotRenderResults": {
        "value": false,
        "description": "Wraps the render results of the slots in a div element"
    }
}

About

Extension and standalone js lib to support storing and editing of structured data and meta data based on MultiContentRevisions, json, json-schema and json-ld.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published