Page MenuHomePhabricator

Remove legacy ajax interface
Open, MediumPublic

Description

MediaWiki has an old system for responding to AJAX requests that predates the action API. This system is implemented in the AjaxDispatcher class and controlled by the $wgAjaxExportList setting.

$wgAjaxExportList has been deprecated since 1.27. It was kept around to cover use cases that didn't fit well within the framework of the action API. However, these use cases can now be covered nicely with the new REST API, so the old AJAX interface should go away.

Next steps:

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:01 AM
bzimport set Reference to bz40787.
bzimport added a subscriber: Unknown Object (MLST).
brion added a subscriber: brion.Jan 23 2015, 7:59 PM

Change 228768 had a related patch set uploaded (by Ori.livneh):
Remove Sajax

https://gerrit.wikimedia.org/r/228768

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 3 2015, 4:12 AM
Schnark added a subscriber: Schnark.Aug 3 2015, 9:28 AM
Phabricator_maintenance renamed this task from Deprecate legacy ajax interface (tracking) to Deprecate legacy ajax interface.Aug 14 2016, 12:15 AM
Krinkle renamed this task from Deprecate legacy ajax interface to Remove legacy ajax interface.Jan 10 2019, 7:03 PM
Krinkle updated the task description. (Show Details)

Change 575400 had a related patch set uploaded (by Krinkle; owner: Aaron Schulz):
[mediawiki/core@master] Remove various unused AjaxResponse methods

https://gerrit.wikimedia.org/r/575400

Change 575400 merged by jenkins-bot:
[mediawiki/core@master] Remove various unused AjaxResponse methods

https://gerrit.wikimedia.org/r/575400

Change 576592 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Remove more unused ajax response methods

https://gerrit.wikimedia.org/r/576592

Change 576592 merged by jenkins-bot:
[mediawiki/core@master] Remove more unused ajax response methods

https://gerrit.wikimedia.org/r/576592

Krinkle updated the task description. (Show Details)May 10 2020, 1:36 AM
daniel added a subscriber: daniel.

I just stumbled upon the fact that we still have this API-before-APIs in core. Let's please just kill it. This task has been open since the before-time (it was imported from bugzilla in 2014).

A handful of extensions still use it, porting them to using the action API or REST api should be simple enough. I suspect that most of them are unmaintained anyway.

Nikerabbit moved this task from Inbox to Watching on the TechCom board.Dec 15 2020, 11:37 AM
daniel updated the task description. (Show Details)Thu, Jan 14, 11:06 AM
daniel updated the task description. (Show Details)
This comment was removed by daniel.
daniel updated the task description. (Show Details)Thu, Jan 14, 11:11 AM