Aaron Schulz has submitted this change and it was merged.

Change subject: Added new API module to query campaigns
......................................................................


Added new API module to query campaigns

It is intended to replace the uploadcampaign api module since that one has 
several issues.
The output format is the same, and the parameters are similar (although not 
identical).

Changes compared to that API module:

* This one is a query module with limit and continuation support
* This one batches queries. The other one does 2n+1 queries when retrieving 
config where n is the amount of campaigns (which by default is all the 
campaigns). ... :)
* This one allows for filtering based on name, id and enabled, rather then just 
name
* This one allows obtaining only certain configuration data, instead of all or 
none of it

This reverts commit 72686d05c2b7f5025bcb8028ae49e86e50794896, which is a revert 
since someone merged the code without first merging it's dependency in core.

This change DEPENDS ON this change in core: 
https://gerrit.wikimedia.org/r/#/c/10378/

Change-Id: I6ef6f6e0b4d13a6771d5024768c30c74de39528a
---
M UploadWizard.php
A api/ApiQueryUploadCampaigns.php
M includes/UploadWizardCampaign.php
M includes/UploadWizardCampaigns.php
M includes/specials/SpecialUploadCampaign.php
M includes/specials/SpecialUploadWizard.php
6 files changed, 364 insertions(+), 17 deletions(-)

Approvals:
  Aaron Schulz: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/31218
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6ef6f6e0b4d13a6771d5024768c30c74de39528a
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Drecodeam <[email protected]>
Gerrit-Reviewer: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>
Gerrit-Reviewer: Nischayn22 <[email protected]>
Gerrit-Reviewer: Platonides <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to