jenkins-bot has submitted this change and it was merged.
Change subject: Changing ApiQueryAllCampaigns api module prefix
......................................................................
Changing ApiQueryAllCampaigns api module prefix
Because the ApiQueryAllCampaigns api module has the same prefix as user
contributions ('uc'), it is changed to 'uwc'
Bug: 57128
Change-Id: I465b57fe15d33dee5af526d297d2938f4bf4633f
---
M includes/ApiQueryAllCampaigns.php
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Hoo man: Looks good to me, but someone else must approve
Bene: Looks good to me, but someone else must approve
MaxSem: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/ApiQueryAllCampaigns.php
b/includes/ApiQueryAllCampaigns.php
index 3e3211b..17e41db 100644
--- a/includes/ApiQueryAllCampaigns.php
+++ b/includes/ApiQueryAllCampaigns.php
@@ -29,7 +29,7 @@
*/
class ApiQueryAllCampaigns extends ApiQueryBase {
public function __construct( $query, $moduleName ) {
- parent::__construct( $query, $moduleName, 'uc' );
+ parent::__construct( $query, $moduleName, 'uwc' );
}
public function execute() {
@@ -139,7 +139,7 @@
public function getExamples() {
return array(
- 'api.php?action=query&list=allcampaigns&ucenabledonly='
=> 'Enumerate enabled campaigns'
+
'api.php?action=query&list=allcampaigns&uwcenabledonly=' => 'Enumerate enabled
campaigns'
);
}
--
To view, visit https://gerrit.wikimedia.org/r/98174
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I465b57fe15d33dee5af526d297d2938f4bf4633f
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Bene <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Bene <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: Qgil <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits