Page MenuHomePhabricator

Please support wgAjaxExportList config in extension registration
Closed, DeclinedPublic

Description

Steps to reproduce

  • Search for wgAjaxExportList there is no name called that meaning its not supported in extension registration.

Actual results

  • The wgAjaxExportList config is not supported in extension registration.

Expected results

  • The config wgAjaxExportList should be added to list of supported configs in extension registration.

Event Timeline

Paladox raised the priority of this task from to Needs Triage.
Paladox updated the task description. (Show Details)
Paladox added subscribers: Paladox, Legoktm.
Krenair claimed this task.
Krenair subscribed.

That setting is basically deprecated now that we have the API (i.e. for many years). I'll make it official later.

How would we migrate. But could it be supported in extension registration until it is removed since some repos use it.

Use the API. See some of the patches to resolve blockers of T42786.

No, I don't think we should support that variable further by adding it to extension.json

Hi what would I replace with this config $wgAjaxExportList[] = 'MsUpload::saveCat'; and how would it be set please.

Extensions still using $wgAjaxExportList will first require migration to the API system instead of the deprecated AjaxDispatcher system. This has been deprecated for many years. Extensions using this still are likely not maintained and probably shouldn't be used in production without a lot of maintenance from an expert first.