Page MenuHomePhabricator

unable to save json datasets using api
Open, Needs TriagePublic


Currently contenthandlers for contentmodels registered by JsonConfig are not added to the global registration of wgContentHandlers, because they make use of JsonConfigModels and ContentHandlerForModelID.

Event Timeline

TheDJ renamed this task from JsonConfig contenthandlers are not globally registered to unable to save json datasets using api.Jan 12 2017, 7:30 PM

Noting that I've been able to save .map pages using the api, e.g., just be specifying a page name, valid JSON (including the licence, source, description fields), and not setting the content model. The pages seem to just get created with the correct content model.