daniel added a comment.

@Ladgroup: HttpAcceptNegotiator and HttpAcceptParser can and should be moved to core, yes.

I don't think we need the equivalent of EntityDataFormatProvider in core: Special:PageData dosn't need to (and really cannot) use file name extensions, or API serialization formats, or format names.

All that Special:PageData needs is a list of supported mime types for a given page. That list is provided by ContentHandler::getSupportedFormats() and can be checked using isSupportedFormat(). But perhaps we should even support just one format per page for now, the one returned by ContentHander::getDefaultFormat().


TASK DETAIL
https://phabricator.wikimedia.org/T163923

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: Ladsgroup, Aklapper, daniel, Lsherwinforone, GoranSMilovanovic, 45Jayjay1969, QZanden, Ptolusque, Sethakill, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to