Siebrand 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 Change-Id: I73dc9de6f65bb062c19d3447304c2a5d27821860 --- 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, 353 insertions(+), 17 deletions(-) Approvals: Siebrand: Verified; Looks good to me, approved -- To view, visit https://gerrit.wikimedia.org/r/10377 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I73dc9de6f65bb062c19d3447304c2a5d27821860 Gerrit-PatchSet: 4 Gerrit-Project: mediawiki/extensions/UploadWizard Gerrit-Branch: master Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com> Gerrit-Reviewer: Brion VIBBER <br...@wikimedia.org> Gerrit-Reviewer: Jeroen De Dauw <jeroended...@gmail.com> Gerrit-Reviewer: MarkTraceur <mtrac...@member.fsf.org> Gerrit-Reviewer: MaxSem <maxsem.w...@gmail.com> Gerrit-Reviewer: Platonides <platoni...@gmail.com> Gerrit-Reviewer: Reedy <re...@wikimedia.org> Gerrit-Reviewer: Siebrand <siebr...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits