User Details
- User Since
- Feb 28 2021, 6:38 AM (267 w, 7 h)
- Availability
- Available
- LDAP User
- Unknown
- MediaWiki User
- Simon Stier [ Global Accounts ]
Mar 15 2025
In my perspective it does not make sense to create another JSON-SCHEMA based form generator if something like https://github.com/json-editor/json-editor already exists, even integrated into (Semantic)MediaWIki (https://github.com/OpenSemanticLab, see also https://phabricator.wikimedia.org/T324933).
For visual consistency a OOUI theme (https://github.com/json-editor/json-editor?tab=readme-ov-file#css-integration) should be considered.
For students it would also be easier to create new custom editors (https://github.com/json-editor/json-editor?tab=readme-ov-file#custom-editor-interfaces), e.g. for Geolocation/Maps or Tree Views, than digging into the fundamentals of JSON-SCHEMA.
Also, a JSON-SCHEMA schema editor with full support of the JSON-SCHEMA (meta)schema quickly escalates to something that is not useable for average users (see https://json-editor.github.io/json-editor/meta-schema.html). In OpenSemanticLab we use a simplified metaschema and templating for this usecase.
Jun 6 2023
Certainly, that page on mediawiki.org wouldn't be updated until the patch is actually merged :)
Makes sense... =D
Not sure how to update the documentation - directly in API:Siteinfo?
Jun 4 2023
May 12 2023
Isn't that just because the scripts for mysql / mariadb and sql-lite use
INSERT (OR) IGNORE
while postgres does NOT use the equivalent
ON CONFLICT DO NOTHING`
Dec 22 2022
The usecase at this point is to place a machine readable document behind an URI. Specifically, it's about json-schema, which are referenced both absolutely and mutually among themselves.
(see also json-schema.org and T324933 )
In this way, for example, a category can specify the schema for structured data that must be followed by pages in that category.
Dec 12 2022
Dec 11 2022
Mar 30 2021
On stackoverflow there are some suggestions for a more robust solution for this limitation of XPath1,
e. g. using regex or iterate over all nodes an check for default namespace declarations.
https://stackoverflow.com/questions/1245902/remove-namespace-from-xml-using-php
Mar 29 2021
Mar 24 2021
Thanks for providing the patch. Problem fixed: Named subobjects now create link texts from display title as expected ("DisplayTitle" in the given example)
