jenkins-bot has submitted this change and it was merged.

Change subject: Fix undoing topic moderation
......................................................................


Fix undoing topic moderation

It was calling a wrong handler

Change-Id: I0bb60770283d89af2825f1cecb7c47b49d8f8db2
---
M handlebars/flow_moderate_topic_confirmation.handlebars
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  EBernhardson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/handlebars/flow_moderate_topic_confirmation.handlebars 
b/handlebars/flow_moderate_topic_confirmation.handlebars
index 81d6cd3..20e7f64 100644
--- a/handlebars/flow_moderate_topic_confirmation.handlebars
+++ b/handlebars/flow_moderate_topic_confirmation.handlebars
@@ -12,7 +12,7 @@
                                                <input type="button"
                                                       class="mw-ui-button 
mw-ui-quiet"
                                                           value="{{l10n 
'flow-post-action-undo-moderation'}}"
-                                                          
data-flow-api-handler="moderatePost">
+                                                          
data-flow-api-handler="moderateTopic">
                                        </form>
                                {{/if}}
                                {{#if actions.undelete}}
@@ -23,7 +23,7 @@
                                                <input type="button"
                                                       class="mw-ui-button 
mw-ui-quiet"
                                                           value="{{l10n 
'flow-post-action-undo-moderation'}}"
-                                                          
data-flow-api-handler="moderatePost">
+                                                          
data-flow-api-handler="moderateTopic">
                                        </form>
                                {{/if}}
                                {{#if actions.unsuppress}}
@@ -34,7 +34,7 @@
                                                <input type="button"
                                                       class="mw-ui-button 
mw-ui-quiet"
                                                           value="{{l10n 
'flow-post-action-undo-moderation'}}"
-                                                          
data-flow-api-handler="moderatePost">
+                                                          
data-flow-api-handler="moderateTopic">
                                        </form>
                                {{/if}}
                        </div>

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0bb60770283d89af2825f1cecb7c47b49d8f8db2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: SG <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to