Matthias Mullie has uploaded a new change for review.

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

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(-)


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

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: newchange
Gerrit-Change-Id: I0bb60770283d89af2825f1cecb7c47b49d8f8db2
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