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 <benestar.wikime...@googlemail.com>
Gerrit-Reviewer: Anomie <bjor...@wikimedia.org>
Gerrit-Reviewer: Bene <benestar.wikime...@googlemail.com>
Gerrit-Reviewer: Hoo man <h...@online.de>
Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com>
Gerrit-Reviewer: MarkTraceur <mtrac...@member.fsf.org>
Gerrit-Reviewer: MaxSem <maxsem.w...@gmail.com>
Gerrit-Reviewer: Qgil <q...@wikimedia.org>
Gerrit-Reviewer: Yuvipanda <yuvipa...@gmail.com>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to