Matthias Mullie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/224066

Change subject: Use correct module name for ApiFlowUndoEditTopicSummary
......................................................................

Use correct module name for ApiFlowUndoEditTopicSummary

undo-edit-topic-summary was incorrectly passing along
edit-topic-summary. Module manager already makes sure $modName
is undo-edit-topic-summary, though, so we might just as well
pass that along.

Bug: T105478
Change-Id: I37e898b59880fe5e9a7a6216aafcc82a82656440
---
M includes/Api/ApiFlowUndoEditPost.php
M includes/Api/ApiFlowUndoEditTopicSummary.php
2 files changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/66/224066/1

diff --git a/includes/Api/ApiFlowUndoEditPost.php 
b/includes/Api/ApiFlowUndoEditPost.php
index 650e53b..1ea434f 100644
--- a/includes/Api/ApiFlowUndoEditPost.php
+++ b/includes/Api/ApiFlowUndoEditPost.php
@@ -5,8 +5,8 @@
 use ApiBase;
 
 class ApiFlowUndoEditPost extends ApiFlowBaseGet {
-       public function __construct( $api ) {
-               parent::__construct( $api, 'undo-edit-post', 'uep' );
+       public function __construct( $api, $modName ) {
+               parent::__construct( $api, $modName, 'uep' );
        }
 
        protected function getAction() {
diff --git a/includes/Api/ApiFlowUndoEditTopicSummary.php 
b/includes/Api/ApiFlowUndoEditTopicSummary.php
index 55a132e..ef6038a 100644
--- a/includes/Api/ApiFlowUndoEditTopicSummary.php
+++ b/includes/Api/ApiFlowUndoEditTopicSummary.php
@@ -5,8 +5,8 @@
 use ApiBase;
 
 class ApiFlowUndoEditTopicSummary extends ApiFlowBaseGet {
-       public function __construct( $api ) {
-               parent::__construct( $api, 'edit-topic-summary', 'uets' );
+       public function __construct( $api, $modName ) {
+               parent::__construct( $api, $modName, 'uets' );
        }
 
        protected function getAction() {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I37e898b59880fe5e9a7a6216aafcc82a82656440
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>

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

Reply via email to