www.fgks.org   »   [go: up one dir, main page]

Page MenuHomePhabricator

Remove AjaxDispatcher from MediaWiki core
Closed, ResolvedPublic

Description

AjaxDispatcher / $wgAjaxExportList is our legacy pre-api ajax code. It should eventually be removed from core.

If the api is to complex for extensions to use for simple things we may want to consider adding an elegant api interface to let extensions create simple api modules.

https://codesearch.wmcloud.org/deployed/?q=AjaxExport&i=nope&files=&excludeFiles=&repos=

See also:
T55120: Remove deprecated sajax js library from MediaWiki core

Related Objects

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:01 AM
bzimport set Reference to bz40786.
bzimport added a subscriber: Unknown Object (MLST).

Need to fix the stuff that depends on this first, like Collection, CategoryTree, FlagedRevs and SecurePoll.

Need to fix the stuff that depends on this first, like Collection, CategoryTree, FlagedRevs and SecurePoll.

What term to grep for exactly?

AjaxResponse or wgAjaxExportList

$:andre\> grep -r wgAjaxExportList .
./SecurePoll
./CategoryTree
./SocialProfile
./SemanticImageAnnotator
./SemanticPageMake
./CommunityVoice
./BlogPage
./ExtTab
./Configure
./OnlineStatus
./SlimboxThumbs
./AJAXPoll
./Collection
./SemanticForms
./ReaderFeedback
./Comments
./VoteNY
./Phalanx
./DonationInterface
./LinkSuggest
./FlaggedRevs
./WebPlatformAuth
./SemanticComments

$:andre\> grep -r AjaxResponse .
./CategoryTree
./Collection
./Phalanx
./LinkSuggest

Krinkle renamed this task from Remove AjaxDispatcher to Remove AjaxDispatcher from MediaWiki core.Mar 26 2015, 6:32 AM
Krinkle updated the task description. (Show Details)
Krinkle set Security to None.
Krinkle removed a subscriber: Unknown Object (MLST).

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

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

Change 262460 had a related patch set uploaded (by Legoktm):
Mark AjaxExportList config as deprecated

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

Change 262460 merged by jenkins-bot:
Mark AjaxExportList config as deprecated

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

In the following extensions the "AjaxExportList" was migrated to new extension registration:
AJAXPoll
MsCalendar
MsUpload

Would be nice, when deprecated parts not stay long in the new system

Change 741941 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] Remove ActionAjax

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

I guess this needs an entry in tech news saying action=ajax, the predecessor to our API endpoint (action=api), is now removed

Change 741941 merged by jenkins-bot:

[mediawiki/core@master] Remove ActionAjax

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

DAlangi_WMF subscribed.

Yes @Ladsgroup, please it needs some public notice. Thank you for the final removal patch. I'll leave you to resolve this once the notice goes out. :)

I have written this in Tech News as:

The predecessor to our current API endpoint, action=ajax, has now been removed from the code. [1]

Please edit that, or let me know what changes are needed, before this time tomorrow. Thanks! https://meta.wikimedia.org/wiki/Tech/News/2021/49

Re: above - E.g. Perhaps we could mention when it was replaced?

The predecessor to our current API endpoint, action=ajax, which was replaced by action=api in 2012(???), has now been removed from the code. [1]

I mean define replaced. Most of it got replaced in 2006 (when the first API was introduced I assume) but some extensions were still depending on this endpoint which was fixed last week. But this is pre-history and I need someone who knows this better than I do.

Kunal beat me to it. Yes. That's good.