EBernhardson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/196453
Change subject: Put "Edit" under dropdown menu for posts
......................................................................
Put "Edit" under dropdown menu for posts
Bug: T91086
Change-Id: I118764307c13a9fee10b84737aa780da81033003
---
M handlebars/compiled/flow_block_board-history.handlebars.php
M handlebars/compiled/flow_block_topic.handlebars.php
M handlebars/compiled/flow_block_topic_history.handlebars.php
M handlebars/compiled/flow_block_topic_moderate_post.handlebars.php
M handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
M handlebars/compiled/flow_block_topiclist.handlebars.php
M handlebars/compiled/flow_post.handlebars.php
M handlebars/flow_moderation_actions_list.partial.handlebars
M handlebars/flow_post_meta_actions.partial.handlebars
9 files changed, 79 insertions(+), 41 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/53/196453/1
diff --git a/handlebars/compiled/flow_block_board-history.handlebars.php
b/handlebars/compiled/flow_block_board-history.handlebars.php
index de2c613..00fa03e 100644
--- a/handlebars/compiled/flow_block_board-history.handlebars.php
+++ b/handlebars/compiled/flow_block_board-history.handlebars.php
@@ -71,7 +71,15 @@
title="'.htmlentities((string)((isset($in['actions']['unsuppress']['title']) &&
is_array($in['actions']['unsuppress'])) ? $in['actions']['unsuppress']['title']
: null), ENT_QUOTES, 'UTF-8').'"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
- data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
+ data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','post'),array()), $in, false, function($cx,
$in) {return ''.((LCRun3::ifvar($cx, ((isset($in['actions']['edit']) &&
is_array($in['actions'])) ? $in['actions']['edit'] : null))) ? '<li>
+ <a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-progressive mw-ui-quiet"
+
href="'.htmlentities((string)((isset($in['actions']['edit']['url']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
+
title="'.htmlentities((string)((isset($in['actions']['edit']['title']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['title'] : null),
ENT_QUOTES, 'UTF-8').'"
+ data-flow-api-handler="activateEditPost"
+ data-flow-api-target="< .flow-post-main"
+ data-flow-interactive-handler="apiRequest"
+ >'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-pencil"></span> ' :
'').''.LCRun3::ch($cx, 'l10n',
array(array('flow-post-action-edit-post'),array()), 'encq').'</a>
+ </li>' : '').'';}).''.LCRun3::hbch($cx, 'ifCond',
array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_topic.partial"
data-role="lock"
diff --git a/handlebars/compiled/flow_block_topic.handlebars.php
b/handlebars/compiled/flow_block_topic.handlebars.php
index 46620d4..7aa1050 100644
--- a/handlebars/compiled/flow_block_topic.handlebars.php
+++ b/handlebars/compiled/flow_block_topic.handlebars.php
@@ -121,7 +121,15 @@
title="'.htmlentities((string)((isset($in['actions']['unsuppress']['title']) &&
is_array($in['actions']['unsuppress'])) ? $in['actions']['unsuppress']['title']
: null), ENT_QUOTES, 'UTF-8').'"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
- data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
+ data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','post'),array()), $in, false, function($cx,
$in) {return ''.((LCRun3::ifvar($cx, ((isset($in['actions']['edit']) &&
is_array($in['actions'])) ? $in['actions']['edit'] : null))) ? '<li>
+ <a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-progressive mw-ui-quiet"
+
href="'.htmlentities((string)((isset($in['actions']['edit']['url']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
+
title="'.htmlentities((string)((isset($in['actions']['edit']['title']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['title'] : null),
ENT_QUOTES, 'UTF-8').'"
+ data-flow-api-handler="activateEditPost"
+ data-flow-api-target="< .flow-post-main"
+ data-flow-interactive-handler="apiRequest"
+ >'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-pencil"></span> ' :
'').''.LCRun3::ch($cx, 'l10n',
array(array('flow-post-action-edit-post'),array()), 'encq').'</a>
+ </li>' : '').'';}).''.LCRun3::hbch($cx, 'ifCond',
array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_topic.partial"
data-role="lock"
diff --git a/handlebars/compiled/flow_block_topic_history.handlebars.php
b/handlebars/compiled/flow_block_topic_history.handlebars.php
index 493d3b7..d2b5b0e 100644
--- a/handlebars/compiled/flow_block_topic_history.handlebars.php
+++ b/handlebars/compiled/flow_block_topic_history.handlebars.php
@@ -71,7 +71,15 @@
title="'.htmlentities((string)((isset($in['actions']['unsuppress']['title']) &&
is_array($in['actions']['unsuppress'])) ? $in['actions']['unsuppress']['title']
: null), ENT_QUOTES, 'UTF-8').'"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
- data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
+ data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','post'),array()), $in, false, function($cx,
$in) {return ''.((LCRun3::ifvar($cx, ((isset($in['actions']['edit']) &&
is_array($in['actions'])) ? $in['actions']['edit'] : null))) ? '<li>
+ <a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-progressive mw-ui-quiet"
+
href="'.htmlentities((string)((isset($in['actions']['edit']['url']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
+
title="'.htmlentities((string)((isset($in['actions']['edit']['title']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['title'] : null),
ENT_QUOTES, 'UTF-8').'"
+ data-flow-api-handler="activateEditPost"
+ data-flow-api-target="< .flow-post-main"
+ data-flow-interactive-handler="apiRequest"
+ >'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-pencil"></span> ' :
'').''.LCRun3::ch($cx, 'l10n',
array(array('flow-post-action-edit-post'),array()), 'encq').'</a>
+ </li>' : '').'';}).''.LCRun3::hbch($cx, 'ifCond',
array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_topic.partial"
data-role="lock"
diff --git a/handlebars/compiled/flow_block_topic_moderate_post.handlebars.php
b/handlebars/compiled/flow_block_topic_moderate_post.handlebars.php
index f0c236f..4f05911 100644
--- a/handlebars/compiled/flow_block_topic_moderate_post.handlebars.php
+++ b/handlebars/compiled/flow_block_topic_moderate_post.handlebars.php
@@ -85,14 +85,6 @@
<
.flow-post:not([data-flow-post-max-depth=\'1\']) .flow-reply-form
[data-role=\'submit\']
"
>'.htmlentities((string)((isset($in['actions']['reply']['text']) &&
is_array($in['actions']['reply'])) ? $in['actions']['reply']['text'] : null),
ENT_QUOTES, 'UTF-8').'</a>
-' : '').''.((LCRun3::ifvar($cx, ((isset($in['actions']['edit']) &&
is_array($in['actions'])) ? $in['actions']['edit'] : null))) ? '
<a href="'.htmlentities((string)((isset($in['actions']['edit']['url']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
-
title="'.htmlentities((string)((isset($in['actions']['edit']['title']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['title'] : null),
ENT_QUOTES, 'UTF-8').'"
- data-flow-api-handler="activateEditPost"
- data-flow-api-target="< .flow-post-main"
- data-flow-interactive-handler="apiRequest"
- class="mw-ui-anchor mw-ui-progressive mw-ui-quiet">
- '.LCRun3::ch($cx, 'l10n',
array(array('flow-post-action-edit-post'),array()), 'encq').'
- </a>
' : '').''.((LCRun3::ifvar($cx, ((isset($in['actions']['thank']) &&
is_array($in['actions'])) ? $in['actions']['thank'] : null))) ? '
<a class="mw-ui-anchor mw-ui-constructive mw-ui-quiet
mw-thanks-flow-thank-link"
href="'.htmlentities((string)((isset($in['actions']['thank']['url']) &&
is_array($in['actions']['thank'])) ? $in['actions']['thank']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
title="'.htmlentities((string)((isset($in['actions']['thank']['title']) &&
is_array($in['actions']['thank'])) ? $in['actions']['thank']['title'] : null),
ENT_QUOTES,
'UTF-8').'">'.htmlentities((string)((isset($in['actions']['thank']['text']) &&
is_array($in['actions']['thank'])) ? $in['actions']['thank']['text'] : null),
ENT_QUOTES, 'UTF-8').'</a>
@@ -158,7 +150,15 @@
title="'.htmlentities((string)((isset($in['actions']['unsuppress']['title']) &&
is_array($in['actions']['unsuppress'])) ? $in['actions']['unsuppress']['title']
: null), ENT_QUOTES, 'UTF-8').'"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
- data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
+ data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','post'),array()), $in, false, function($cx,
$in) {return ''.((LCRun3::ifvar($cx, ((isset($in['actions']['edit']) &&
is_array($in['actions'])) ? $in['actions']['edit'] : null))) ? '<li>
+ <a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-progressive mw-ui-quiet"
+
href="'.htmlentities((string)((isset($in['actions']['edit']['url']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
+
title="'.htmlentities((string)((isset($in['actions']['edit']['title']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['title'] : null),
ENT_QUOTES, 'UTF-8').'"
+ data-flow-api-handler="activateEditPost"
+ data-flow-api-target="< .flow-post-main"
+ data-flow-interactive-handler="apiRequest"
+ >'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-pencil"></span> ' :
'').''.LCRun3::ch($cx, 'l10n',
array(array('flow-post-action-edit-post'),array()), 'encq').'</a>
+ </li>' : '').'';}).''.LCRun3::hbch($cx, 'ifCond',
array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_topic.partial"
data-role="lock"
diff --git a/handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
b/handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
index 9facecb..661fb2d 100644
--- a/handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
+++ b/handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
@@ -85,14 +85,6 @@
<
.flow-post:not([data-flow-post-max-depth=\'1\']) .flow-reply-form
[data-role=\'submit\']
"
>'.htmlentities((string)((isset($in['actions']['reply']['text']) &&
is_array($in['actions']['reply'])) ? $in['actions']['reply']['text'] : null),
ENT_QUOTES, 'UTF-8').'</a>
-' : '').''.((LCRun3::ifvar($cx, ((isset($in['actions']['edit']) &&
is_array($in['actions'])) ? $in['actions']['edit'] : null))) ? '
<a href="'.htmlentities((string)((isset($in['actions']['edit']['url']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
-
title="'.htmlentities((string)((isset($in['actions']['edit']['title']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['title'] : null),
ENT_QUOTES, 'UTF-8').'"
- data-flow-api-handler="activateEditPost"
- data-flow-api-target="< .flow-post-main"
- data-flow-interactive-handler="apiRequest"
- class="mw-ui-anchor mw-ui-progressive mw-ui-quiet">
- '.LCRun3::ch($cx, 'l10n',
array(array('flow-post-action-edit-post'),array()), 'encq').'
- </a>
' : '').''.((LCRun3::ifvar($cx, ((isset($in['actions']['thank']) &&
is_array($in['actions'])) ? $in['actions']['thank'] : null))) ? '
<a class="mw-ui-anchor mw-ui-constructive mw-ui-quiet
mw-thanks-flow-thank-link"
href="'.htmlentities((string)((isset($in['actions']['thank']['url']) &&
is_array($in['actions']['thank'])) ? $in['actions']['thank']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
title="'.htmlentities((string)((isset($in['actions']['thank']['title']) &&
is_array($in['actions']['thank'])) ? $in['actions']['thank']['title'] : null),
ENT_QUOTES,
'UTF-8').'">'.htmlentities((string)((isset($in['actions']['thank']['text']) &&
is_array($in['actions']['thank'])) ? $in['actions']['thank']['text'] : null),
ENT_QUOTES, 'UTF-8').'</a>
@@ -158,7 +150,15 @@
title="'.htmlentities((string)((isset($in['actions']['unsuppress']['title']) &&
is_array($in['actions']['unsuppress'])) ? $in['actions']['unsuppress']['title']
: null), ENT_QUOTES, 'UTF-8').'"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
- data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
+ data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','post'),array()), $in, false, function($cx,
$in) {return ''.((LCRun3::ifvar($cx, ((isset($in['actions']['edit']) &&
is_array($in['actions'])) ? $in['actions']['edit'] : null))) ? '<li>
+ <a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-progressive mw-ui-quiet"
+
href="'.htmlentities((string)((isset($in['actions']['edit']['url']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
+
title="'.htmlentities((string)((isset($in['actions']['edit']['title']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['title'] : null),
ENT_QUOTES, 'UTF-8').'"
+ data-flow-api-handler="activateEditPost"
+ data-flow-api-target="< .flow-post-main"
+ data-flow-interactive-handler="apiRequest"
+ >'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-pencil"></span> ' :
'').''.LCRun3::ch($cx, 'l10n',
array(array('flow-post-action-edit-post'),array()), 'encq').'</a>
+ </li>' : '').'';}).''.LCRun3::hbch($cx, 'ifCond',
array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_topic.partial"
data-role="lock"
diff --git a/handlebars/compiled/flow_block_topiclist.handlebars.php
b/handlebars/compiled/flow_block_topiclist.handlebars.php
index 31421dc..8285d12 100644
--- a/handlebars/compiled/flow_block_topiclist.handlebars.php
+++ b/handlebars/compiled/flow_block_topiclist.handlebars.php
@@ -229,7 +229,15 @@
title="'.htmlentities((string)((isset($in['actions']['unsuppress']['title']) &&
is_array($in['actions']['unsuppress'])) ? $in['actions']['unsuppress']['title']
: null), ENT_QUOTES, 'UTF-8').'"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
- data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
+ data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','post'),array()), $in, false, function($cx,
$in) {return ''.((LCRun3::ifvar($cx, ((isset($in['actions']['edit']) &&
is_array($in['actions'])) ? $in['actions']['edit'] : null))) ? '<li>
+ <a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-progressive mw-ui-quiet"
+
href="'.htmlentities((string)((isset($in['actions']['edit']['url']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
+
title="'.htmlentities((string)((isset($in['actions']['edit']['title']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['title'] : null),
ENT_QUOTES, 'UTF-8').'"
+ data-flow-api-handler="activateEditPost"
+ data-flow-api-target="< .flow-post-main"
+ data-flow-interactive-handler="apiRequest"
+ >'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-pencil"></span> ' :
'').''.LCRun3::ch($cx, 'l10n',
array(array('flow-post-action-edit-post'),array()), 'encq').'</a>
+ </li>' : '').'';}).''.LCRun3::hbch($cx, 'ifCond',
array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_topic.partial"
data-role="lock"
diff --git a/handlebars/compiled/flow_post.handlebars.php
b/handlebars/compiled/flow_post.handlebars.php
index 09a19c0..7a4f229 100644
--- a/handlebars/compiled/flow_post.handlebars.php
+++ b/handlebars/compiled/flow_post.handlebars.php
@@ -64,14 +64,6 @@
<
.flow-post:not([data-flow-post-max-depth=\'1\']) .flow-reply-form
[data-role=\'submit\']
"
>'.htmlentities((string)((isset($in['actions']['reply']['text']) &&
is_array($in['actions']['reply'])) ? $in['actions']['reply']['text'] : null),
ENT_QUOTES, 'UTF-8').'</a>
-' : '').''.((LCRun3::ifvar($cx, ((isset($in['actions']['edit']) &&
is_array($in['actions'])) ? $in['actions']['edit'] : null))) ? '
<a href="'.htmlentities((string)((isset($in['actions']['edit']['url']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
-
title="'.htmlentities((string)((isset($in['actions']['edit']['title']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['title'] : null),
ENT_QUOTES, 'UTF-8').'"
- data-flow-api-handler="activateEditPost"
- data-flow-api-target="< .flow-post-main"
- data-flow-interactive-handler="apiRequest"
- class="mw-ui-anchor mw-ui-progressive mw-ui-quiet">
- '.LCRun3::ch($cx, 'l10n',
array(array('flow-post-action-edit-post'),array()), 'encq').'
- </a>
' : '').''.((LCRun3::ifvar($cx, ((isset($in['actions']['thank']) &&
is_array($in['actions'])) ? $in['actions']['thank'] : null))) ? '
<a class="mw-ui-anchor mw-ui-constructive mw-ui-quiet
mw-thanks-flow-thank-link"
href="'.htmlentities((string)((isset($in['actions']['thank']['url']) &&
is_array($in['actions']['thank'])) ? $in['actions']['thank']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
title="'.htmlentities((string)((isset($in['actions']['thank']['title']) &&
is_array($in['actions']['thank'])) ? $in['actions']['thank']['title'] : null),
ENT_QUOTES,
'UTF-8').'">'.htmlentities((string)((isset($in['actions']['thank']['text']) &&
is_array($in['actions']['thank'])) ? $in['actions']['thank']['text'] : null),
ENT_QUOTES, 'UTF-8').'</a>
@@ -137,7 +129,15 @@
title="'.htmlentities((string)((isset($in['actions']['unsuppress']['title']) &&
is_array($in['actions']['unsuppress'])) ? $in['actions']['unsuppress']['title']
: null), ENT_QUOTES, 'UTF-8').'"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
- data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
+ data-role="unsuppress">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-block"></span> ' :
'').''.LCRun3::ch($cx, 'l10n', array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-unsuppress-',((isset($in['moderationTemplate']) &&
is_array($in)) ? $in['moderationTemplate'] : null)),array()), 'raw')),array()),
'encq').'</a>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'</li>' : '').''.LCRun3::hbch($cx,
'ifCond', array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','post'),array()), $in, false, function($cx,
$in) {return ''.((LCRun3::ifvar($cx, ((isset($in['actions']['edit']) &&
is_array($in['actions'])) ? $in['actions']['edit'] : null))) ? '<li>
+ <a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-progressive mw-ui-quiet"
+
href="'.htmlentities((string)((isset($in['actions']['edit']['url']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
+
title="'.htmlentities((string)((isset($in['actions']['edit']['title']) &&
is_array($in['actions']['edit'])) ? $in['actions']['edit']['title'] : null),
ENT_QUOTES, 'UTF-8').'"
+ data-flow-api-handler="activateEditPost"
+ data-flow-api-target="< .flow-post-main"
+ data-flow-interactive-handler="apiRequest"
+ >'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="wikiglyph wikiglyph-pencil"></span> ' :
'').''.LCRun3::ch($cx, 'l10n',
array(array('flow-post-action-edit-post'),array()), 'encq').'</a>
+ </li>' : '').'';}).''.LCRun3::hbch($cx, 'ifCond',
array(array(((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] : null),'===','history'),array()), $in, false,
function($cx, $in) {return ''.((LCRun3::ifvar($cx,
((isset($in['actions']['lock']) && is_array($in['actions'])) ?
$in['actions']['lock'] : null))) ?
'<li>'.htmlentities((string)((isset($in['noop']) && is_array($in)) ?
$in['noop'] : null), ENT_QUOTES, 'UTF-8').'<a
class="'.htmlentities((string)((isset($in['moderationMwUiClass']) &&
is_array($in)) ? $in['moderationMwUiClass'] : null), ENT_QUOTES, 'UTF-8').'
mw-ui-destructive mw-ui-quiet"
data-flow-interactive-handler="moderationDialog"
data-flow-template="flow_moderate_topic.partial"
data-role="lock"
diff --git a/handlebars/flow_moderation_actions_list.partial.handlebars
b/handlebars/flow_moderation_actions_list.partial.handlebars
index 4bb19c4..8651c29 100644
--- a/handlebars/flow_moderation_actions_list.partial.handlebars
+++ b/handlebars/flow_moderation_actions_list.partial.handlebars
@@ -170,6 +170,22 @@
{{~noop~}}
</li>
{{~/if~}}
+ {{~#ifCond moderationType "===" "post"~}}
+ {{~#if actions.edit~}}
+ <li>
+ <a class="{{moderationMwUiClass}}
mw-ui-progressive mw-ui-quiet"
+ href="{{actions.edit.url}}"
+ title="{{actions.edit.title}}"
+ data-flow-api-handler="activateEditPost"
+ data-flow-api-target="< .flow-post-main"
+ data-flow-interactive-handler="apiRequest"
+ >
+ {{~#if moderationIcons}}<span
class="wikiglyph wikiglyph-pencil"></span> {{/if~}}
+ {{~l10n "flow-post-action-edit-post"~}}
+ </a>
+ </li>
+ {{~/if~}}
+ {{~/ifCond~}}
{{~#ifCond moderationType "===" "history"~}}
{{!-- The history page uses a modal, while the topic view puts
this in the title bar --}}
diff --git a/handlebars/flow_post_meta_actions.partial.handlebars
b/handlebars/flow_post_meta_actions.partial.handlebars
index c02bd2c..b5d605b 100644
--- a/handlebars/flow_post_meta_actions.partial.handlebars
+++ b/handlebars/flow_post_meta_actions.partial.handlebars
@@ -32,16 +32,6 @@
{{~actions.reply.text~}}
</a>
{{/if}}
- {{#if actions.edit}}
- <a href="{{actions.edit.url}}"
- title="{{actions.edit.title}}"
- data-flow-api-handler="activateEditPost"
- data-flow-api-target="< .flow-post-main"
- data-flow-interactive-handler="apiRequest"
- class="mw-ui-anchor mw-ui-progressive mw-ui-quiet">
- {{l10n "flow-post-action-edit-post"}}
- </a>
- {{/if}}
{{#if actions.thank}}
{{!--
progressive enhancement happens in the Thank
extension
--
To view, visit https://gerrit.wikimedia.org/r/196453
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I118764307c13a9fee10b84737aa780da81033003
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits