Page MenuHomePhabricator

unable to save json datasets using api
Open, Needs TriagePublic

Description

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 created this task.Jan 11 2017, 11:45 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 11 2017, 11:45 PM
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
Evad37 added a subscriber: Evad37.Aug 29 2018, 6:24 AM

Noting that I've been able to save .map pages using the api, e.g. https://commons.wikimedia.org/w/index.php?title=Data:Sandbox/Evad37/Highway_192_in_Iowa_(3).map&action=history, just be specifying a Data:_____.map 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.

RP88 added a subscriber: RP88.Aug 29 2018, 7:50 AM