Page MenuHomePhabricator

MsUpload should use an API to handle saving categories
Closed, ResolvedPublic

Description

Currently, MsUpload is using AjaxExportList to expose the saveCat function. This should be changed to an API call. In addition, the saveCat function is using the Super Global $_session and should use mediawiki's system to get the correct session.

Event Timeline

Change 480250 had a related patch set uploaded (by ValeryanM; owner: ValeryanM):
[mediawiki/extensions/MsUpload@master] Moving save category to and API call.

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

Change 481328 had a related patch set uploaded (by Samwilson; owner: Samwilson):
[mediawiki/extensions/MsUpload@master] Refactor auto-category to not require a 2nd request

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

@Valeryan_M I had the idea today that perhaps this doesn't need an API request at all. I'll upload a patch.

Change 480250 abandoned by ValeryanM:
Moving save category to an API call

Reason:
Abandoned for better option to handle auto category.

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

Change 481328 merged by jenkins-bot:
[mediawiki/extensions/MsUpload@master] Refactor auto-category to not require a 2nd request

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

Samwilson claimed this task.

Merged.