Esanders has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/365656 )
Change subject: Add mw-parser-output class to flow posts
......................................................................
Add mw-parser-output class to flow posts
Bug: T164791
Change-Id: I2df2c81627f4b56f758b4541887edf76ef190cf4
---
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_post.handlebars.php
M handlebars/flow_post_inner.partial.handlebars
5 files changed, 10 insertions(+), 10 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/56/365656/1
diff --git a/handlebars/compiled/flow_block_topic_history.handlebars.php
b/handlebars/compiled/flow_block_topic_history.handlebars.php
index 2987ba6..5442600 100644
--- a/handlebars/compiled/flow_block_topic_history.handlebars.php
+++ b/handlebars/compiled/flow_block_topic_history.handlebars.php
@@ -65,11 +65,11 @@
'.$sp.'
href="'.htmlentities((string)((isset($in['actions']['delete']['url']) &&
is_array($in['actions']['delete'])) ? $in['actions']['delete']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
'.$sp.'
data-flow-interactive-handler="moderationDialog"
'.$sp.'
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
-'.$sp.' data-role="delete">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-remove
mw-ui-icon-remove-destructive-hover"></span> ' : '').''.LCRun3::ch($cx, 'l10n',
array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-delete-',((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::ifvar($cx,
((isset($in['actions']['undelete']) && is_array($in['actions'])) ?
$in['actions']['undelete'] : 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 mw-ui-hovericon"
+'.$sp.' data-role="delete">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-trash
mw-ui-icon-trash-destructive-hover"></span> ' : '').''.LCRun3::ch($cx, 'l10n',
array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-delete-',((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::ifvar($cx,
((isset($in['actions']['undelete']) && is_array($in['actions'])) ?
$in['actions']['undelete'] : 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 mw-ui-hovericon"
'.$sp.'
href="'.htmlentities((string)((isset($in['actions']['undelete']['url']) &&
is_array($in['actions']['undelete'])) ? $in['actions']['undelete']['url'] :
null), ENT_QUOTES, 'UTF-8').'"
'.$sp.'
data-flow-interactive-handler="moderationDialog"
'.$sp.'
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
-'.$sp.' data-role="undelete">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-remove
mw-ui-icon-remove-destructive-hover"></span> ' : '').''.LCRun3::ch($cx, 'l10n',
array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-undelete-',((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::ifvar($cx,
((isset($in['actions']['suppress']) && is_array($in['actions'])) ?
$in['actions']['suppress'] : 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 mw-ui-hovericon"
+'.$sp.' data-role="undelete">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-trash
mw-ui-icon-trash-destructive-hover"></span> ' : '').''.LCRun3::ch($cx, 'l10n',
array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-undelete-',((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::ifvar($cx,
((isset($in['actions']['suppress']) && is_array($in['actions'])) ?
$in['actions']['suppress'] : 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 mw-ui-hovericon"
'.$sp.'
href="'.htmlentities((string)((isset($in['actions']['suppress']['url']) &&
is_array($in['actions']['suppress'])) ? $in['actions']['suppress']['url'] :
null), ENT_QUOTES, 'UTF-8').'"
'.$sp.'
data-flow-interactive-handler="moderationDialog"
'.$sp.'
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
diff --git a/handlebars/compiled/flow_block_topic_moderate_post.handlebars.php
b/handlebars/compiled/flow_block_topic_moderate_post.handlebars.php
index cc44277..e11d472 100644
--- a/handlebars/compiled/flow_block_topic_moderate_post.handlebars.php
+++ b/handlebars/compiled/flow_block_topic_moderate_post.handlebars.php
@@ -136,11 +136,11 @@
'.$sp.'
href="'.htmlentities((string)((isset($in['actions']['delete']['url']) &&
is_array($in['actions']['delete'])) ? $in['actions']['delete']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
'.$sp.'
data-flow-interactive-handler="moderationDialog"
'.$sp.'
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
-'.$sp.' data-role="delete">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-remove
mw-ui-icon-remove-destructive-hover"></span> ' : '').''.LCRun3::ch($cx, 'l10n',
array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-delete-',((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::ifvar($cx,
((isset($in['actions']['undelete']) && is_array($in['actions'])) ?
$in['actions']['undelete'] : 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 mw-ui-hovericon"
+'.$sp.' data-role="delete">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-trash
mw-ui-icon-trash-destructive-hover"></span> ' : '').''.LCRun3::ch($cx, 'l10n',
array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-delete-',((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::ifvar($cx,
((isset($in['actions']['undelete']) && is_array($in['actions'])) ?
$in['actions']['undelete'] : 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 mw-ui-hovericon"
'.$sp.'
href="'.htmlentities((string)((isset($in['actions']['undelete']['url']) &&
is_array($in['actions']['undelete'])) ? $in['actions']['undelete']['url'] :
null), ENT_QUOTES, 'UTF-8').'"
'.$sp.'
data-flow-interactive-handler="moderationDialog"
'.$sp.'
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
-'.$sp.' data-role="undelete">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-remove
mw-ui-icon-remove-destructive-hover"></span> ' : '').''.LCRun3::ch($cx, 'l10n',
array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-undelete-',((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::ifvar($cx,
((isset($in['actions']['suppress']) && is_array($in['actions'])) ?
$in['actions']['suppress'] : 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 mw-ui-hovericon"
+'.$sp.' data-role="undelete">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-trash
mw-ui-icon-trash-destructive-hover"></span> ' : '').''.LCRun3::ch($cx, 'l10n',
array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-undelete-',((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::ifvar($cx,
((isset($in['actions']['suppress']) && is_array($in['actions'])) ?
$in['actions']['suppress'] : 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 mw-ui-hovericon"
'.$sp.'
href="'.htmlentities((string)((isset($in['actions']['suppress']['url']) &&
is_array($in['actions']['suppress'])) ? $in['actions']['suppress']['url'] :
null), ENT_QUOTES, 'UTF-8').'"
'.$sp.'
data-flow-interactive-handler="moderationDialog"
'.$sp.'
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
@@ -160,7 +160,7 @@
'.$sp.''.((LCRun3::ifvar($cx, ((isset($in['isModerated']) && is_array($in)) ?
$in['isModerated'] : null))) ? ' <div
class="flow-moderated-post-content">
'.$sp.''.LCRun3::p($cx, 'flow_post_moderation_state',
array(array($in),array()), ' ').' </div>
'.$sp.'' : '').'
-'.$sp.' <div class="flow-post-content">
+'.$sp.' <div class="flow-post-content mw-parser-output">
'.$sp.' '.LCRun3::ch($cx, 'escapeContent',
array(array(((isset($in['content']['format']) && is_array($in['content'])) ?
$in['content']['format'] : null),((isset($in['content']['content']) &&
is_array($in['content'])) ? $in['content']['content'] : null)),array()),
'encq').'
'.$sp.' </div>
'.$sp.'
diff --git a/handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
b/handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
index 3be435b..f2d9bd6 100644
--- a/handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
+++ b/handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
@@ -136,11 +136,11 @@
'.$sp.'
href="'.htmlentities((string)((isset($in['actions']['delete']['url']) &&
is_array($in['actions']['delete'])) ? $in['actions']['delete']['url'] : null),
ENT_QUOTES, 'UTF-8').'"
'.$sp.'
data-flow-interactive-handler="moderationDialog"
'.$sp.'
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
-'.$sp.' data-role="delete">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-remove
mw-ui-icon-remove-destructive-hover"></span> ' : '').''.LCRun3::ch($cx, 'l10n',
array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-delete-',((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::ifvar($cx,
((isset($in['actions']['undelete']) && is_array($in['actions'])) ?
$in['actions']['undelete'] : 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 mw-ui-hovericon"
+'.$sp.' data-role="delete">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-trash
mw-ui-icon-trash-destructive-hover"></span> ' : '').''.LCRun3::ch($cx, 'l10n',
array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-delete-',((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::ifvar($cx,
((isset($in['actions']['undelete']) && is_array($in['actions'])) ?
$in['actions']['undelete'] : 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 mw-ui-hovericon"
'.$sp.'
href="'.htmlentities((string)((isset($in['actions']['undelete']['url']) &&
is_array($in['actions']['undelete'])) ? $in['actions']['undelete']['url'] :
null), ENT_QUOTES, 'UTF-8').'"
'.$sp.'
data-flow-interactive-handler="moderationDialog"
'.$sp.'
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
-'.$sp.' data-role="undelete">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-remove
mw-ui-icon-remove-destructive-hover"></span> ' : '').''.LCRun3::ch($cx, 'l10n',
array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-undelete-',((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::ifvar($cx,
((isset($in['actions']['suppress']) && is_array($in['actions'])) ?
$in['actions']['suppress'] : 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 mw-ui-hovericon"
+'.$sp.' data-role="undelete">'.((LCRun3::ifvar($cx,
((isset($in['moderationIcons']) && is_array($in)) ? $in['moderationIcons'] :
null))) ? '<span class="mw-ui-icon mw-ui-icon-before mw-ui-icon-trash
mw-ui-icon-trash-destructive-hover"></span> ' : '').''.LCRun3::ch($cx, 'l10n',
array(array(LCRun3::ch($cx, 'concat',
array(array('flow-',((isset($in['moderationType']) && is_array($in)) ?
$in['moderationType'] :
null),'-action-undelete-',((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::ifvar($cx,
((isset($in['actions']['suppress']) && is_array($in['actions'])) ?
$in['actions']['suppress'] : 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 mw-ui-hovericon"
'.$sp.'
href="'.htmlentities((string)((isset($in['actions']['suppress']['url']) &&
is_array($in['actions']['suppress'])) ? $in['actions']['suppress']['url'] :
null), ENT_QUOTES, 'UTF-8').'"
'.$sp.'
data-flow-interactive-handler="moderationDialog"
'.$sp.'
data-flow-template="flow_moderate_'.htmlentities((string)((isset($in['moderationTemplate'])
&& is_array($in)) ? $in['moderationTemplate'] : null), ENT_QUOTES,
'UTF-8').'.partial"
@@ -160,7 +160,7 @@
'.$sp.''.((LCRun3::ifvar($cx, ((isset($in['isModerated']) && is_array($in)) ?
$in['isModerated'] : null))) ? ' <div
class="flow-moderated-post-content">
'.$sp.''.LCRun3::p($cx, 'flow_post_moderation_state',
array(array($in),array()), ' ').' </div>
'.$sp.'' : '').'
-'.$sp.' <div class="flow-post-content">
+'.$sp.' <div class="flow-post-content mw-parser-output">
'.$sp.' '.LCRun3::ch($cx, 'escapeContent',
array(array(((isset($in['content']['format']) && is_array($in['content'])) ?
$in['content']['format'] : null),((isset($in['content']['content']) &&
is_array($in['content'])) ? $in['content']['content'] : null)),array()),
'encq').'
'.$sp.' </div>
'.$sp.'
diff --git a/handlebars/compiled/flow_post.handlebars.php
b/handlebars/compiled/flow_post.handlebars.php
index 7ace593..4b5db3e 100644
--- a/handlebars/compiled/flow_post.handlebars.php
+++ b/handlebars/compiled/flow_post.handlebars.php
@@ -137,7 +137,7 @@
'.$sp.''.((LCRun3::ifvar($cx, ((isset($in['isModerated']) && is_array($in)) ?
$in['isModerated'] : null))) ? ' <div
class="flow-moderated-post-content">
'.$sp.''.LCRun3::p($cx, 'flow_post_moderation_state',
array(array($in),array()), ' ').' </div>
'.$sp.'' : '').'
-'.$sp.' <div class="flow-post-content">
+'.$sp.' <div class="flow-post-content mw-parser-output">
'.$sp.' '.LCRun3::ch($cx, 'escapeContent',
array(array(((isset($in['content']['format']) && is_array($in['content'])) ?
$in['content']['format'] : null),((isset($in['content']['content']) &&
is_array($in['content'])) ? $in['content']['content'] : null)),array()),
'encq').'
'.$sp.' </div>
'.$sp.'
diff --git a/handlebars/flow_post_inner.partial.handlebars
b/handlebars/flow_post_inner.partial.handlebars
index 6592c45..8722cd0 100644
--- a/handlebars/flow_post_inner.partial.handlebars
+++ b/handlebars/flow_post_inner.partial.handlebars
@@ -11,7 +11,7 @@
</div>
{{/if}}
- <div class="flow-post-content">
+ <div class="flow-post-content mw-parser-output">
{{escapeContent content.format content.content}}
</div>
--
To view, visit https://gerrit.wikimedia.org/r/365656
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2df2c81627f4b56f758b4541887edf76ef190cf4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits