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

Change subject: Hygiene: Remove unnecessary parameter to 
flow-post-action-edit-post
......................................................................


Hygiene: Remove unnecessary parameter to flow-post-action-edit-post

This i18n message does not make take parameters

Change-Id: I779e8b22000ee127baa312f80370e519f0e198ef
---
M handlebars/compiled/flow_block_topic_edit_post.handlebars.php
M handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
M handlebars/flow_edit_post.handlebars
3 files changed, 5 insertions(+), 5 deletions(-)

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



diff --git a/handlebars/compiled/flow_block_topic_edit_post.handlebars.php 
b/handlebars/compiled/flow_block_topic_edit_post.handlebars.php
index 80f5246..06ac77b 100644
--- a/handlebars/compiled/flow_block_topic_edit_post.handlebars.php
+++ b/handlebars/compiled/flow_block_topic_edit_post.handlebars.php
@@ -29,7 +29,7 @@
 ' : '').'
 
 
-
+       
 
        '.LCRun3::sec($cx, ((is_array($in) && isset($in['roots'])) ? 
$in['roots'] : null), $in, true, function($cx, $in) {return '
                '.LCRun3::hbch($cx, 'eachPost', Array($cx['scopes'][0],$in), 
$in, function($cx, $in) {return '
@@ -48,7 +48,7 @@
 </div>
 
        <input type="hidden" name="wpEditToken" 
value="'.htmlentities(((is_array($cx['scopes'][0]) && 
isset($cx['scopes'][0]['editToken'])) ? $cx['scopes'][0]['editToken'] : null), 
ENT_QUOTES, 'UTF-8').'" />
-
+       
        <input type="hidden" name="topic_prev_revision" 
value="'.htmlentities(((is_array($in) && isset($in['revisionId'])) ? 
$in['revisionId'] : null), ENT_QUOTES, 'UTF-8').'" />
        '.LCRun3::hbch($cx, 'ifAnonymous', Array(), $in, function($cx, $in) 
{return '
                <div class="flow-anon-warning flow-ui-tooltip 
flow-ui-progressive flow-ui-tooltip-down flow-form-collapsible plainlinks">
@@ -59,7 +59,7 @@
        ';}).'
        <textarea name="topic_content" class="mw-ui-input 
flow-form-collapsible" data-role="content">'.((LCRun3::ifvar($cx, 
((is_array($cx['scopes'][0]['submitted']) && 
isset($cx['scopes'][0]['submitted']['content'])) ? 
$cx['scopes'][0]['submitted']['content'] : null))) ? 
''.htmlentities(((is_array($cx['scopes'][0]['submitted']) && 
isset($cx['scopes'][0]['submitted']['content'])) ? 
$cx['scopes'][0]['submitted']['content'] : null), ENT_QUOTES, 'UTF-8').'' : 
''.htmlentities(((is_array($in) && isset($in['content'])) ? $in['content'] : 
null), ENT_QUOTES, 'UTF-8').'').'</textarea>
        <div class="flow-form-actions flow-form-collapsible">
-               <button data-role="submit" class="flow-ui-button 
flow-ui-constructive">'.LCRun3::ch($cx, 'l10n', 
Array('flow-post-action-edit-post',((is_array($in) && isset($in['author'])) ? 
$in['author'] : null)), 'encq').'</button>
+               <button data-role="submit" class="flow-ui-button 
flow-ui-constructive">'.LCRun3::ch($cx, 'l10n', 
Array('flow-post-action-edit-post'), 'encq').'</button>
                <button data-flow-api-handler="preview" name="preview" 
data-role="action" class="flow-ui-button flow-ui-progressive 
flow-ui-quiet">'.LCRun3::ch($cx, 'l10n', Array('flow-preview'), 
'encq').'</button>
                <button data-flow-interactive-handler="cancelForm" 
data-role="cancel" class="flow-ui-button flow-ui-destructive 
flow-ui-quiet">'.LCRun3::ch($cx, 'l10n', Array('flow-cancel'), 
'encq').'</button>
                <small class="flow-terms-of-use plainlinks">'.LCRun3::ch($cx, 
'l10n', Array('flow-terms-of-use-edit'), 'encq').'</small>
diff --git a/handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php 
b/handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
index 7fb7a57..42ba015 100644
--- a/handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
+++ b/handlebars/compiled/flow_block_topic_moderate_topic.handlebars.php
@@ -66,7 +66,7 @@
                                ' : '').'
                                '.((LCRun3::ifvar($cx, 
((is_array($in['actions']) && isset($in['actions']['edit'])) ? 
$in['actions']['edit'] : null))) ? '
                                        &#8226;
-                                       <a 
href="'.htmlentities(((is_array($in['actions']['edit']) && 
isset($in['actions']['edit']['url'])) ? $in['actions']['edit']['url'] : null), 
ENT_QUOTES, 'UTF-8').'" 
title="'.htmlentities(((is_array($in['actions']['edit']) && 
isset($in['actions']['edit']['title'])) ? $in['actions']['edit']['title'] : 
null), ENT_QUOTES, 'UTF-8').'" class="flow-ui-regressive 
flow-ui-quiet">'.LCRun3::ch($cx, 'l10n', Array('flow-post-action-edit-post'), 
'encq').'</a>
+                                       <a 
href="'.htmlentities(((is_array($in['actions']['edit']) && 
isset($in['actions']['edit']['url'])) ? $in['actions']['edit']['url'] : null), 
ENT_QUOTES, 'UTF-8').'" 
title="'.htmlentities(((is_array($in['actions']['edit']) && 
isset($in['actions']['edit']['title'])) ? $in['actions']['edit']['title'] : 
null), ENT_QUOTES, 'UTF-8').'" class="flow-ui-regressive 
flow-ui-quiet">'.LCRun3::ch($cx, 'l10n', 
Array('flow-post-action-edit-post',((is_array($in) && isset($in['author'])) ? 
$in['author'] : null)), 'encq').'</a>
                                ' : '').'
                        </span>
                        '.((LCRun3::ifvar($cx, ((is_array($in) && 
isset($in['previousRevisionId'])) ? $in['previousRevisionId'] : null))) ? '
diff --git a/handlebars/flow_edit_post.handlebars 
b/handlebars/flow_edit_post.handlebars
index bce0537..e8c6aa1 100644
--- a/handlebars/flow_edit_post.handlebars
+++ b/handlebars/flow_edit_post.handlebars
@@ -14,7 +14,7 @@
                {{~/if~}}
        </textarea>
        <div class="flow-form-actions flow-form-collapsible">
-               <button data-role="submit" class="flow-ui-button 
flow-ui-constructive">{{l10n "flow-post-action-edit-post" author}}</button>
+               <button data-role="submit" class="flow-ui-button 
flow-ui-constructive">{{l10n "flow-post-action-edit-post"}}</button>
                <button data-flow-api-handler="preview" name="preview" 
data-role="action" class="flow-ui-button flow-ui-progressive 
flow-ui-quiet">{{l10n "flow-preview"}}</button>
                <button data-flow-interactive-handler="cancelForm" 
data-role="cancel" class="flow-ui-button flow-ui-destructive 
flow-ui-quiet">{{l10n "flow-cancel"}}</button>
                <small class="flow-terms-of-use plainlinks">{{l10n 
"flow-terms-of-use-edit"}}</small>

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I779e8b22000ee127baa312f80370e519f0e198ef
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: frontend-rewrite
Gerrit-Owner: Bsitu <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to