API Feature request: have action=categorytree output json
Open, Needs TriagePublic

Description

This is a followup for rECTR680cdd688ae1: Use an API module instead of the old (to be removed) ajax functions, one of those "quick conversions from ajax to an API module" that resulted in an 'internal' API module full of technical debt.

  • The extension's API module currently returns an HTML blob wrapped in the selected API output format. It should instead output the tree data in a structured form for the client to turn into HTML or whatever.
  • The horrible options JSON blob parameter should be turned into actual documented parameters.
Ash_Crow created this task.Oct 5 2017, 10:46 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 5 2017, 10:46 AM

How is this related to code in MediaWiki-API ? Isn't this in the extension only?

I added the tag because it is a function in the API on the projects (for example here), but if I was wrong, please feel free to remove it.

Anomie updated the task description. (Show Details)