Jeroen De Dauw has uploaded a new change for review.

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, 354 insertions(+), 17 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UploadWizard 
refs/changes/18/31218/1
--
To view, visit https://gerrit.wikimedia.org/r/31218
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6ef6f6e0b4d13a6771d5024768c30c74de39528a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to